Gå til innholdetGå til valg for informasjonskapsler

Minesweeper strategy: read the numbers, guess well

Minesweeper strategy from first principles: what each number means, the 1-2-1 and 1-2-2-1 patterns, and how to choose the best guess when logic runs out.

Av ZokoGames team5 min lesetid

Minesweeper is a deduction game wearing the costume of a luck game. Most boards can be cleared almost entirely by reasoning; the skill is in reading what each number actually says, and in knowing what to do on the rare occasion that logic runs dry. The examples here use Reef Sweep, our minesweeper-style puzzle game, where the mines are sea urchins hiding under sand tiles. Everything applies to any game of the genre.

What a number means#

An uncovered tile shows how many hidden urchins touch it, counting all eight neighbours: up, down, left, right and the four diagonals. That is all the information the game ever gives you. A tile showing 0 has no urchins around it, so Reef Sweep opens its whole empty area at once. Your first tap is always safe and always opens an area, because urchins are placed after your first tap, never on that tile and, where there is room, never next to it.

Every deduction comes from comparing a number with the covered tiles around it.

The two basic rules#

  1. Count covered neighbours. If a number equals the count of covered tiles touching it, all of them are urchins. A 1 with exactly one covered neighbour: that neighbour is an urchin. Flag it.
  2. Count flags. If a number already has as many flags around it as its value, every other covered neighbour is safe. In Reef Sweep, clicking the number uncovers all of them in one go (this is often called chording). It only works when the flag count matches exactly, so a wrong flag is dangerous: it makes the game open the wrong tiles. Flag only what you are sure of.

Work from the numbers with the fewest covered neighbours. They are the ones that resolve first, and each one you resolve makes its neighbours easier.

Comparing two numbers#

When the simple rules stall, put two neighbouring numbers side by side. If one number's covered neighbours are a subset of another's, subtract.

Suppose a 1 touches covered tiles A and B, and the 2 beside it touches A, B and C. The 1 says one urchin among A and B. The 2 says two urchins among A, B and C. So C must hold the second urchin. You never needed to know which of A or B was it.

The famous patterns are just this subtraction repeated along a wall of covered tiles. Imagine a straight edge of uncovered numbers, with a row of covered tiles along it and nothing uncertain on the other side.

The 1-2-1 pattern. Three numbers in a row reading 1, 2, 1. Number the covered tiles beneath them from the left, with the first tile diagonal to the first 1 and the last diagonal to the last 1. The subtraction gives urchins directly under each of the two 1s, and safe tiles under the 2 and at both outer ends.

The 1-2-2-1 pattern. Four numbers reading 1, 2, 2, 1. Here the urchins sit under the two 2s, and the tiles under both 1s, and at the ends, are safe.

You can rediscover both on paper in a minute: write one equation per number (the covered tiles it touches add up to its value) and subtract neighbouring equations. Remember the pattern's logic, not just its shape, because a real board often shows a distorted version of it.

Using the counter#

The urchin counter at the top of Reef Sweep shows the urchins left minus the flags you have placed. It matters most late in the game. If the counter says 2 and only 2 unresolved tiles remain, both are urchins. If it says 0, every remaining covered tile is safe.

When you must guess#

Sometimes every number is satisfied and no deduction is left. Guessing is not a failure at that point; the goal is to guess at the lowest risk.

Know the baseline. Reef Sweep has 10 urchins on 81 tiles at Easy (about 12%), 24 on 144 at Medium (about 17%), and 48 on 256 at Hard (about 19%). A tile far from the numbers is about that likely to be an urchin, so a random distant tile is often a better bet than a tile on the frontier.

Then compare it with the frontier. A 1 whose covered neighbours are two tiles gives each of them a 50% chance if nothing else constrains them; a 1 with four possible neighbours gives each roughly 25%. Choose the guess whose risk is lowest, not the one nearest the action.

Other tips for a guess:

  • Prefer tiles likely to open space. A corner has only three neighbours, so it is more likely to show a 0 and give you an area than a tile in the middle.
  • Prefer a tile that would resolve several numbers. A guess that, if safe, completes two constraints is worth more than one that touches nothing.
  • Never guess when a deduction exists. Make one more pass over every number first.

Reef Sweep helps here. The Safe tile button (the H key) uncovers a tile that is guaranteed to be safe next to the area you have already opened. You get one per game; after that you can take a few free ones spaced 30 seconds apart, or add 30 seconds to your time for one. Because the first one is free, save it for a real forced guess late in the board rather than spending it early. You can also undo one blast per game: the urchin is flagged, and you carry on.

Scoring and speed#

A cleared reef is worth 50 points per urchin, up to double that for a fast clear, with the speed bonus running out at five minutes. Taking the 30-second penalty for an extra safe tile lowers the final score by 10%. Accuracy comes first, because a blast ends the reef. Speed comes from habit: scan the whole board before moving and resolve every certain tile. On touch, long-press flags, or switch on Flag mode so every tap places a flag; on a keyboard, F flags.

A routine that works#

  1. Open with any tile; the first is safe.
  2. Scan for numbers whose covered neighbours all must be urchins; flag them.
  3. Chord any number with matching flags.
  4. Compare neighbouring numbers by subtraction, looking for 1-2-1 and 1-2-2-1 shapes along edges.
  5. Check the counter when few tiles remain.
  6. Only then, guess at the lowest risk.

Try it on Easy in Reef Sweep, then step up to Medium and Hard, where bigger boards with more urchins reward a tidy routine.

Del dette innlegget

Tilbake til bloggen