Description
Minesweeper is a single-player puzzle game. The objective of the game is to clear a rectangular board containing hidden "mines" or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field.
To win you need to determine the location of all mines.
To achieve this goal, you have to click a square and if it is empty all adjacent empty squares will open up. If you ever click on a box containing a mine, it will explode and you'll lose.
It is possible to plant a flag to mark the alleged location of a mine, using the button corresponding to the flag.
If the clicked box is empty, all adjacent empty boxes will open recursively.
To win, there must be no mines incorrectly marked with a flag. On the other hand, it is not necessary to mark all the mines to finish; you just need to determine all the empty boxes.