Minesweeper

Every number tells you how many mines it is touching.

A field with mines hidden under it. Open a square and it either ends the game or shows a number: how many of its eight neighbours are mined. Flag the ones you have worked out, open the ones you are sure of, and clear the field. The first click is always safe; after that it is arithmetic, though at the very end you sometimes have to guess.

An open-source version of the game. Results are not saved. Licence and source