Mines

from Simon Tatham's Portable Puzzle Collection


Drag to resize the puzzle. Right-click to restore the default size.

Link to this puzzle: by game ID by random seed

This puzzle did not finish loading. Refresh the page and check whether the local JS and WASM files were served correctly.

If the problem continues, open the browser console and network panel to see which asset failed.


Try to expose every square in the grid that is not one of the hidden mines, without opening any square that is a mine.

Click in a square to open it. Every opened square is marked with the number of mines in the surrounding 8 squares, if there are any; if not, all the surrounding squares are automatically opened.

Right-click in a square to mark it with a flag if you think it is a mine. If a numbered square has exactly the right number of flags around it, you can click in it to open all the squares around it that are not flagged.

The first square you open is guaranteed to be safe, and (by default) you are guaranteed to be able to solve the whole grid by deduction rather than guesswork. (Deductions may require you to think about the total number of mines.)

If you think you've found a grid which can't be solved without guessing, think harder! Mines was written in 2005, and since it was written, I've had over 50 reports claiming that a grid had two solutions, or required guessing at a safe square to open. None of those reports turned out to be a real bug in the game generation.

Full instructions | Back to main puzzles page


(comments to anakin@pobox.com)
(thanks to chiark for hosting this page)
(last modified on Mon Mar 9 01:42:11 2026)