Minesweeper Game
The winning condition is to open all the safe squares, and the failure condition is to open a mine (step on a mine).
The number represents the number of mines in its adjacent squares. You can use this information to deduce the location of the safe squares and mines.