Minesweeper, a Classic puzzle game

HTML5
Unzoom
10
?
Original title: Minesweeper, a Classic puzzle game

Description

The game "Bomb Squad" is back! Don't listen to those who say you're old-fashioned - if you want to feel nostalgic, run our game (you'll love it!). The objective of Bomb Squad is to find and destroy all the mines (in this game they will be marked in red and X) hidden under the blue squares. Click on the squares and you will be able to see the following options: 1) a red square with an X - a bomb (if you click on such a square several times, you lose); 2) a number showing how many nearby squares have mines; 3) an empty square - it means that none of the neighboring squares have mines (all will be opened automatically). You win if you open all squares with no mines! You can set the number of rows and columns the puzzle will consist of and adjust the number of lives.

Instructions

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.
You've won the game when you've opened all squares that don't contain a mine.
The game let you set the number of rows and columns of the puzzles, and the number of lives you have.