Well, this article is relating to my last article on tictactoe game and this is because of similar logic being used.
A Minsweeper Game
The objective of the game is to clear a board that contains hidden "mines" or "bombs" without detonating any of them, and they are randomly placed in a 9x9 grid (beginners level). On every right opeing there's a clue which indicate how many bombs are in the adjacent cells.
At any point, you can perform 2 actions:
Marking a cell - marking or flagging a cell that you think might be a bomb
Revealing a cell - revealing the cell. If it is an empty cell, then all of the surrounding empty cells will also be revealed. Revealing a cell containing a bomb is game over.