Click to reveal tiles. Press space while hovering over an unrevealed tile to flag it as a potential mine. The numbers tell you how many mines there are around that tile.