This is a Minesweeper clone. Click on a square to start (hint - the corners are a safe bet) If a square reveals a number then that square is touching that number of mines. Hold down space while clicking (or hold the button down for a second, untill it bleeps, then release) to flag a possible mine. The game ends when you have flagged all the mines or hit one!
I left most of the code as is. I just made it mobile-friendly by adding the option to simulate the Spacebar down by holding the Mouse Button (Finger) down for a second. It's too bad @richjones69 is not active. I think this is really good.