Numbers show how many mines touch a square. Open every safe square. Your first tap is always safe.
Right-click a square, or turn on flag mode, to mark a mine. Tap a number to open its safe neighbors once you have flagged enough.
Tap a square to open it. A number shows how many of its neighbors hide mines. Flag the squares you think are mines. Open every safe square to win. Your first tap is always safe.