Minesweeper is a game to open cells one by one on the grid while avoiding some hidden bombs.
If you open a cell that contains a bomb, you fail, and the game is over.
If you open all the cells that don't contain bombs, you succeed, and you clear the game.