This is a simple illustration of how to make a minesweeper clone in Javascript and HTML. The inspiration for this is Ania Kubów's tutorial at: https://www.youtube.com/watch?v=rxdGAKRndz8
The styling leaves much to be desired since I was only interested in the logic.
Shift-click to toggle a flag, click to try a square.
Like with the original winmine.exe
, it is
impossible to hit a mine with your first square.