The classic minesweeper game.
mines = 99
Click any square until a group of squares "opens" up. If 4 or 5 or more squares opened after your click, it's time to evaluate the numbers. If only one square opens after your click, find another random square.
Click to reveal non-mine squares. Say you found a square with flag, number of neighboring exposed squares is 1, click the square, this will open other non-mine squares.
Double click to marking mines. Say you found a square with number 3, remaining unexposed number of neighboring squares is 3, double-click on the square, This will put a flag on the remaining unexposed squares.