Minesweeper 3: Double Trouble

(remixed from minesweeper, by lionheart921) by isaactium
See Code Download Embed
A recreation of minesweeper? Yes, I decided it's finally time. Now with an explanation:
The goal is to click everything but the mines. Clicking a mine causes you to lose!
The numbers tell you how much mines are around it, including diagonals.
Pressing space places a flag on the tile. Flags are used to mark mines. Tiles with flags can't be clicked. To remove a flag, press space again.
Variation specific:
There are now double mines, which count for two mines. Pressing Space twice now flags a double mine. Pressing Space again unflags the tile.

I somehow managed to mess up on the very last tile.

Created December 23, 2023

Last updated July 2, 2024

Published July 2, 2024