- Flag to start - Click reveals tile - Space or 1/2 to place flag - If tile is black with red dot, you got a mine and YOU LOSE, but can keep going for practice or to see where things were - Numbers tell you how many mines are nearby - blank tile means no mines are nearby - "r" to restart (or click flag for hard reset, if it glitches) - "d" to show difficulty (top right)
heavily based on google's minesweeper: https://www.google.com/search?q=minesweeper there are about difficulty x 12 mines on the board (but not exactly ;). have fun!) 0 means empty, 32 has about 3-5 non-mine tiles I can't decide whether or not to have the shading (both to make the checkered pattern and for the numbers) or to have the numbers be colored like on google's