Click on tiles to reveal how many bombs surround it in all directions (including diagonally) Reveal all tiles without bombs to win Clicking on a tile with a bomb loses you the game Press space to flag a tile (useful if you are certain that the tile has a bomb) If you click on a bomb press any key to restart the same difficulty press S to save a game, and double click and command c to copy the code. press L to load a game PLEASE REPORT ANY BUGS
Credit to @Hobson_tv for the costumes It seems simple to code, but it's really not. In later versions, there will be high scores, timers, win/lose screen, different difficulties, and more.