Minesweeper is a single-player puzzle game. The objective is to clear a rectangular board consisting of small cells without detonating any of the randomly hidden "mines". Revealed mine-free cells give clues about the number of mines in neighboring cells. The game is won when all mine-free cells are revealed and all mines have been correctly identified.