How to play: Click in the minefield to expose a free space. Numbers show how many mines are adjacent to that square. Right-click to flag a square as a mine. Win by exposing all the non-mine squares.
Disclaimer: I did not create the code for the game,