Click to uncover and press [space] to flag. The board is 10x10 and there are 10 mines. You lose if you uncover a mine, and you win automatically when you've uncovered all non-mines.
You can make some pretty complex games without a single variable or list! That sneeze still gets me...