Left-click to reveal a cell, right-click to flag a mine. On touch devices, toggle "Flag Mode" to change tap behavior, or long-press a cell to flag it quickly.
Clicking a revealed number cell will auto-reveal its neighbors if the surrounding flag count matches the number.