Mine Finder Patterns: 1-2-1, 1-2-2-1 and How to Guess Well
The first few games of a mine-sweeping puzzle feel like luck. After a while you notice the same little shapes of numbers coming up along the edge of every opened area, and each shape has one answer. Learn a handful of them and you stop working square by square.

These are the patterns we use most in our own Mine Finder. None of them depend on board size, so they work the same on the 9×9 Easy board and the 30×16 Hard one. In the diagrams, # is a covered square, F is a flag, . is an uncovered blank, and numbers are uncovered numbers. Rows run top to bottom.
Two rules first
Everything below comes from two facts.
All mines found. If a number already has that many flags around it, its other covered neighbors are safe.
All squares are mines. If a number has exactly as many covered neighbors as its value, they’re all mines.
A 1 touching one covered square is the second rule. A 3 with three flags and one covered square next to it is the first. On Easy, these two get you through most of the board. The rest of this post is for when neither one applies.
Subtraction
Pick two numbers next to each other. If every covered square the smaller one can see is also seen by the bigger one, subtract.
A 1 sees two covered squares. The 2 beside it sees those same two plus one more. The shared pair holds exactly one mine, since that’s all the 1 allows. The 2 needs two. So the extra square, the one only the 2 can see, has the other mine.
Written out: bigger number minus smaller number = mines in the squares only the bigger one sees. If the difference equals the count of those squares, they’re all mines. If the difference is zero, they’re all safe.
The named patterns are this same subtraction on shapes that come up a lot.
1-2-1
You’ll see this along straight edges of an opened area all the time:
# A B C #
? 1 2 1 ?
A, B and C are the covered squares above the 1, the 2 and the 1. The ? squares are whatever the edge continues with. They don’t affect anything.
The 2 needs two mines among A, B and C. Try B as a mine. Then the left 1 is satisfied, so A is safe, and the right 1 is satisfied, so C is safe. Now the 2 only has one mine. That doesn’t work, so B is safe and the mines are A and C.
Mines above both 1s, safe above the 2. After you flag A and C, both 1s are full, so anything else they touch is safe too.
1-2-2-1
Same idea, one square longer:
# A B C D #
? 1 2 2 1 ?
The left 2 sees A, B and C. The left 1 sees A and B (and the square left of A) and allows only one mine there. So A and B give the left 2 at most one mine, and the second one has to be C. Run the same argument from the right and B has to be a mine. With B and C flagged, both 1s are satisfied, so A and D are safe.
Mines above the 2s, safe above the 1s. The easy way to keep these two straight: in 1-2-1 the mines are over the 1s, in 1-2-2-1 they’re over the 2s.
Walls and corners
Numbers on the edge of the board see fewer squares, which makes them easier to pin down.
1-1 against a wall
|# # #
|1 1 ?
The 1 against the wall sees two covered squares, the one above it and the one up and to the right. The second 1 sees those two plus the next square over. The first two already hold the mine, so the third square is safe. Subtraction with a difference of zero.
1-2 against a wall
|# # #
|1 2 ?
Change the second number to a 2 and the answer flips. The first two squares hold one mine, so the third square is a mine.
Corner 1
A 1 in a corner with a single covered neighbor: that neighbor is a mine, by the second rule. Corners are also where you get the most zeros, since a corner square has three neighbors instead of eight.
When local patterns run out
Then look at the board as a whole.
Count what’s left. The counter at the top of Mine Finder is mines minus flags. Late in a game, check it against the covered squares that aren’t touching any number. If the numbers along the edge of the opened area already account for every remaining mine, all those isolated squares are safe.
Look for overlaps at a distance. Two numbers a few squares apart can still reach into the same pocket of covered squares. Finding those takes longer than spotting a 1-2-1. It’s also how the hard positions get cracked.
Chord. Once a number has all its mines flagged, tapping it opens the rest of its neighbors in one go. Plenty of fast players only flag the mines they need for chording and ignore the others.
Guessing, when you have to
On a fully random board, some positions can’t be solved. The standard case is two covered squares, one mine between them, and nothing nearby that tells them apart. You have to pick one. Some picks are better than others.
Guess early. If you find a true 50/50, take it now instead of clearing everything else first. Losing in the first minute costs you less than losing in the tenth.
Compare local and global odds. A 1 touching three covered squares puts about a one-in-three chance on each. A covered square far from any number is closer to the board’s overall density: remaining mines divided by remaining covered squares. On Hard at the start that’s about 20% (99 mines in 480 squares), which beats one in three. The square out in the open can be the safer click.
Pick the guess that tells you more. A safe square surrounded by covered squares might open a new area or give you a number that settles the region. A safe square wedged between known numbers might tell you nothing. If the odds are close, take the informative one.
Try corners and edges. Fewer neighbors means a better chance of a zero, and a zero opens a patch for free.
Or turn guessing off
This is why Mine Finder has a no-guess mode, and it’s on by default. Before you see a board, our solver plays it from your first click using the rules above: the two basic rules, subtraction between overlapping numbers, and the mine count at the end. If it gets stuck, the board is thrown out and a new one is generated. The generator gets a 1.5-second budget; if it ever ran out, you’d get the last random board instead. In our tests of 2,000 boards per difficulty that never happened, so in practice the board you see can be finished with logic.
On a no-guess board, being stuck means there’s a pattern you haven’t found yet. Most of the time it’s a subtraction between two numbers that share covered squares. Go back to the edge of the opened area and check the neighboring pairs one at a time.
If you want the classic random boards, the toggle is in the footer under the board. Either way, start a game of Mine Finder and see whether you can find a 1-2-1 in the first ten seconds.