Tap a square to open it. A number shows how many of the 8 squares around it hold a mine.
Use the numbers to work out where the mines are. Opening a mine ends the game.
To flag a mine: turn on Flag mode and tap the square (on a computer, right-click). Tap again to remove the flag.
Open every safe square to win. Your first tap is always safe.