How to Solve Minesweeper Puzzles

Minesweeper began as a computer game played on mainframes in the 1960s, and grew in notoriety during the 80s. When Microsoft included it with its Windows operating system (one of two games meant to familiarize users with clicking a mouse), Minesweeper really took off in popularity.  It doesn’t seem to have appeared as a pencil and paper puzzle until sometime in the late 90s or early 2000s.

Rules

Using the clues given, mark all cells containing mines. Unlike the computer game, you get to see all the clues when you start. Interestingly, some designers make their puzzles slightly ambiguous. They’ll use tricks such as hiding mines behind layers of clues, or in cells with no nearby numbers. If that’s the case, you’ll be given the total number of mines in the grid as a clue. Otherwise, two simple rules apply:

  • Each number indicates the quantity of mines detected in the 8 cells around it.
  • No mine shares a cell with a number.

Basic Techniques to Solve

  1. Look for safe cells first.
  2. Adjacent clues limit each other.
  3. Use clue pairs and subtraction.
  4. Group up shared cells around 1 clues.

Take it Easy

The first thing you’ll want to do is search the grid for clues that are already solved. Either they have a number of empty cells around them equal to the clue, or the clue shows there are no mines around it. Simple clues include:

  • 0 or 8: All surrounding cells are empty, or contain a mine, respectively.
  • 5 on the edge: All cells around it are mined.
  • 3 in the corner: Same here, it’s surrounded by mines.

Adjacent Clues

Remember that a cell with a clue can’t also contain a mine. So, you can look for clusters of adjacent clues. Each clue will have fewer cells around them, so it’s possible they’re already solved. While we’re on this subject, though, look around at nearby clues when marking mines. Sometimes solving one clue will complete another one.

As with computer Minesweeper, it is just as important to figure out where there are no mines as it is to find the mines themselves. Every time you solve a clue by finding all its mines, remember to mark out the safe cells as well.

Clue Subtraction

One of the most fascinating techniques is that you can deduce many mines around certain clue pairings based solely on the difference when you subtract one number from another. This is because adjacent clues share possible mined cells, so whichever one is greater must have extra mines outside of those shared cells.

Orthogonally Adjacent

Orthogonally adjacent clues share 4 cells, and each has 3 outside cells. Any mined cells among the shared ones force the larger clue to place excess mines in their outside cells.

Another way to put this is that the total mines outside the larger clue is always equal to the mines outside the smaller clue, plus the difference.

As a result, you will never see a clue difference greater than 3 between orthogonally adjacent numbers. Another useful thing to note – if the clues are equal, they will always have the same number of mines in their outside cells.

Diagonally Adjacent

Similarly, clues that are diagonally adjacent share only 2 cells, and each has 5 outside cells. Again, mines placed in the shared cells force the larger clue to place any extra in their outside cells.

So the same procedure applies: the total mines outside the larger clue is always equal to the mines outside the smaller clue, plus the difference. This time, the maximum difference you will see is 5.

This also means that clues greater than 5 must use at least one of the shared cells. So the smaller clue definitely won’t have all its mines outside.

Group Up Cells

Clues of 1 are interesting. On one hand, they have the most cells around them, so they seem challenging to solve. On the other, when they share cells with a larger clue, you can use them to restrict possibilities. Think of shared cells as a group – only one of them can be mined, because of the 1. By combining cells in this way, the larger clue has fewer options for its remaining mines. This might lead to discovering most of the mined cells around the large clue, leaving only the cells next to the 1 as unknown.

Solving the Puzzle

Now it’s time to put all these techniques together and solve our example puzzle. If you’d like to try it for yourself in another tab, you can use the Penpa+ solver here.

Breaking In

Advancing North

Surround the Enemy!

Mopping Up

Similar Posts