๐Ÿ’ฃ Minesweeper

๐Ÿ’ฃ 10โฑ๏ธ 0s

A classic puzzle game where you clear every safe cell using number clues, while avoiding mines hidden somewhere on the board. Choose from Beginner, Intermediate, or Expert difficulty โ€” your very first click is always guaranteed safe.

How to use

  1. Choose a difficulty (Beginner, Intermediate, or Expert) and click cells to reveal them. Each number shows how many mines are adjacent to that cell.
  2. Turn on "Flag Mode" and click a cell you suspect is a mine, or right-click it, to mark it with a flag.
  3. Clear every non-mine cell to win; clicking a mine ends the game.

How the calculation works

Open every square that does not hide a mine. Each opened square shows how many of its eight neighbours contain mines, and you use those numbers to deduce where the mines are. Flag squares you think hold mines. Difficulty (the classic Windows settings) Beginner: 9ร—9, 10 mines Intermediate: 16ร—16, 40 mines Expert: 16ร—30, 99 mines No mine is placed in the first square you click or its eight neighbours, so you can never lose on the first click and always start with an open area.

Worked example

Reading the numbers If a โ€œ1โ€ has only one unopened neighbour, that square is a mine. In a โ€œ1-2-1โ€ pattern along a wall, the squares facing the two 1s are mines and the one facing the 2 is safe, a classic shape. Mine density: beginner about 12%, intermediate about 16%, expert about 21%

Things to be aware of

  • Now and then a position cannot be solved by logic and you have to guess.
  • Flagged squares do not open when clicked, so you cannot open them by accident.
  • Opening a 0 automatically opens all the squares around it.

FAQ

Can my first click ever hit a mine?

No. The cell you click first, and its 8 surrounding cells, are always guaranteed to be mine-free.

Can I accidentally reveal a flagged cell?

No. Clicking a flagged cell does nothing, so you can't accidentally reveal it by mistake.

What do the numbers mean?

Each number shown on a revealed cell is the count of mines among its 8 neighboring cells (horizontally, vertically, and diagonally).