Click a square, you get a number. That number is the number of how many mines are surrounding it. If you find the mine, you can open "unopened" squares around it, opening more areas. The numbers on the board represent how many bombs are adjacent to a square.