Minesweeper is a classic puzzle video game that challenges players to clear a grid of hidden mines without detonating any. The game became widely popular as a built-in game in many versions of Microsoft Windows. Your goal is to clear the board without triggering any mines. The board consists of squares, some of which contain mines.