Click the green flag to start the game. You'll start with 0 points and 20 chances. 20 facedown cards arranged in a grid with 4 rows by 5 columns will appear. Click two facedown cards to flip them. If those two cards match (that is, when they have the same number), they are removed from the board. If they don't, then they are flipped back to their original positions and you'll lose a chance. If you lose all of your chances, then it is game over. If you've cleared every card on the board, you'll score 1 point and get 7 extra chances. After that, another set of cards will appear.
The maximum number of chances you can have at any time is 99. As the game goes on indefinitely until you lose all of your chances, there is no maximum score. The game will keep counting your score even if you have at least 1000 points, except with the thousands digit hidden due to the score display having only 3 digits.