Minesweeper
Play Minesweeper in your browser. Uncover all safe cells without hitting a mine.
How to play
- Left-click any cell to reveal it — your first click is always safe.
- Numbers show how many mines touch that cell; blank cells auto-expand.
- Right-click (or long-press) to place a 🚩 flag on a suspected mine.
- Reveal all non-mine cells to win; choose Easy, Medium, or Hard difficulty.
Left-click to reveal a cell. Right-click (or long-press on mobile) to place a flag. Uncover all non-mine cells to win!
How it works
Minesweeper is a single-player logic game played on a grid of covered cells. A fixed number of mines are hidden beneath the cells, and your goal is to uncover every safe cell without detonating a mine.
Left-click any cell to reveal it. If the cell is safe, it shows a number indicating how many of its up-to-eight neighbors contain mines. A blank cell has zero mine-neighbors and auto-expands to reveal the surrounding area. Right-click a covered cell to plant a flag when you suspect a mine is there.
Use the revealed numbers to deduce which covered neighbors are mines and which are safe. When every non-mine cell is uncovered, you win. Clicking a mine ends the game immediately.
A good opening strategy is to click near the center of the board, where auto-expansion is most likely to open a large safe region quickly.
Worked example
Opening the board safely
- Click a cell near the center of the grid.
- Observe the numbers that appear on the revealed cells.
- Find a revealed '1' that borders only one covered cell — that covered cell must be a mine.
- Right-click that covered cell to flag it.
- Continue revealing the remaining neighbors of that '1' safely.
A section of the board is cleared with mines flagged, giving you a foundation to work from.
Common mistakes to avoid
- Guessing randomly instead of using the numbers to deduce mine positions logically.
- Forgetting to flag mines and then accidentally clicking them while clearing neighbors.
- Placing flags on cells that are not actually mines, which wastes flags and can mislead future deductions.
Key terms
- Mine
- A hidden hazard cell; clicking it ends the game.
- Flag
- A marker placed with a right-click to mark a suspected mine without revealing the cell.
- Chord
- Clicking a revealed number cell when its mine-neighbors are all flagged, instantly revealing all remaining neighbors.
Frequently asked questions
- What does the number mean?
- A number tells you how many mines are adjacent (in the 8 surrounding cells).
- How do I flag a mine?
- Right-click on desktop, or long-press on mobile to toggle a flag.