You will be given a random number at the start of the game. When you click on a crystal, it will add a specific amount of points to your total score You win if your total score matches the random number from the beginning of the game You lose if your score goes above the random number The game restarts whenever you win or lose
I had major issues with this and referred to the solution frequently, the complexity of the logic is something i'm still getting used to. I'm going to have to put in study time for javascript more reguarly to fully comprehend it.