Click to reveal, F to flag/unflag, R to restart. https://en.wikipedia.org/wiki/Minesweeper_(video_game) (in case you don't know how to play)
All 569 lines of code and all of the (ugly) art is original