Basically regular minesweeper. Beware that 0 tiles (tiles where there aren't any mines around it) currently don't reveal an array of tiles, so you have to manually click all the way through. Sorry! Click R to reset! Press C to change the mine amount! (Only works if you use R to reset) Currently working on the big dig feature and generally just trying to polish the game out.
Credit to @Hobson-TV for mine detection code (how many mines are around a given tile). I spent hours and hours trying and eventually just took it from him. Update: November 22nd, 2025 - Added fail sound - Added counter for amount of flags that need to be planted. - Mines now come in more variation of color (when you fail, like the original Google minesweeper) - If you press C there is now an option to change the mine amount upon reset with R. I have coded it to make sure that no values greater than 80 or lower than 1 are possible. _____________________________________________ Update: January 10th, 2024 - Click the space bar to switch between normal mode and flagging mode.