Left-click to reveal square
Right-click to mark as a mine
Left-click number to reveal applicable surrounding mines