Chapter 1 · Game

Minesweeper

← Chapter 1

How to play

  1. Click a cell to open it. The goal is to open every safe cell without opening a mine. The first click is always safe and opens an empty region.
  2. A number tells you exactly how many mines are among the eight neighbouring cells.
  3. Right-click (or turn on Flag mode on a touch screen) to place or remove a flag where you think there is a mine.
  4. Opening a zero cell automatically opens the safe region around it.
  5. You win when all non-mine cells are open; opening a mine ends the game. At the end, wrongly placed flags are shown shaded.

Safe hint

The hint first looks for a safe cell that the visible numbers logically force and opens it (outlined). If there is no forced move, it opens a random safe cell and tells you that you would otherwise have had to guess.

How safe cells are deduced

Each number is treated as a local constraint. If a “1” touches exactly one unopened cell, that cell is a mine. If a “2” touches two already known mines, its other unopened neighbours are safe. Combining overlapping constraints lets you solve large boards without guessing.

Strategy tips

  • Flags are a memory aid: until the clues confirm them, a flag is only an assumption.
  • Work first on the regions that carry the most information.
  • Compare neighbouring numbers to work out which unopened cells differ between constraint sets.

Link to reasoning

Minesweeper is not a strategic game against an opponent but a constraint-satisfaction and inference puzzle. It shows local reasoning, the spread of information, the shrinking of uncertainty, and the difference between logically forced moves and guesses.