See the Pen Minesweeper by 101 Computing (@101Computing) on CodePen.
Your Challenge
Improve this code further to:
- Calculate and display a score in real time (number of cells that have been visited).
- Allow the user to add a cross to a cell (by right clicking?) to indicate the position of a mine.
- Allow the user to choose a difficulty level or change some settings (e.g. Number of mines, size of the grid).
- Add a timer to the game.