Minesweeper is a logic game, mines are scattered throughout a board, which is divided into cells. A player selects a cell to open it. If a player opens a mined cell, the game ends in a loss. Otherwise, the opened cell displays either a number, indicating the number of mines diagonally and/or adjacent to it, or a blank tile (or "0"), and all adjacent non-mined cells will automatically be opened. https://en.wikipedia.org/wiki/Minesweeper_(video_game)
Check out the live website: https://slmanzinedine.github.io/minesweeper/
- HTML
- SASS
- Vanilla JS
- View the optimal layout depending on your device's screen size.
- There are three level easy, medium, expert.
- Add a flag to any square you suspect there is a mine in it.