Left-click: reveal square
Right-click: put/delete flag
Left-click on revealed square: reveal adjacent squares