Each number counts the mines in every cell touching it, by a side or just at a corner. Every board can be solved by logic alone: you never have to guess. Click / tap to dig. Right-click, long-press, or turn on Flag mode to place a flag. Tap a number whose flags are all placed to dig everything around it. Your first dig is always safe. Changing a setting starts a new game.