The goal of the game is to detect all the mines in the grid. The game is over if a single mine is clicked.