Shift-click on a cell flags/unflags it. Shift-click on an open cell exposes all unopened neighbors if the number of flagged neighbors is equal to the number in the cell.