To win you need to match the number given at the start of the game.
Each crystal has a hidden value that will be added to your score by clicking on it. If your total score surpasses the given number, then you lose the game.
A fair warning... Each time the game restarts, the hidden value of each crystal changes. So don't get too comfortable.
WINS: 0
LOSSES: 0