A flat or three-dimensional playing field is divided into adjacent cells (squares, hexagons, cubes, etc.), some of which are "mined"; the number of "mined" cells is known. the goal of the game is to open all the cells that do not contain mines. The player opens the cells, trying not to open the cell with a mine. Opening the cell with a mine, he loses. Mines are placed after the first move, so it is impossible to lose on the first move. If by open cell mines not, it appears the number of cells adjacent to the newly opened, "bomb" (in each version of the game the neighborhood is defined differently); using these numbers, the player tries to calculate the location of mines, but sometimes even in the middle and at the end of the game some cells still have to open at random. If there are no mines under the neighboring cells, then some "non-mined" area opens up to the cells that have numbers in them. "Mined" cells can be marked by the player, so as not to accidentally open them. By opening all the" non-mined " cells, the player wins.