The goal in Minesweeper is to find and mark all the mines (X) hidden under the blue squares. This is done by clicking on the squares to open them. Each square will have one of the following: 1) A mine (X), and if you click on it you'll lose the game. 2) A number, which tells you how many of its adjacent squares have mines in them. 3) Nothing. In this case you know that none of the adjacent squares have mines, and they will be automatically opened as well.