View the code on Github

Crystal Collector Game

You will first start with a random number

There are four crystals below, each one given a hidden value. Click them to add points to your score

You win the game by matching your total score to the random number. You lose the game if your total score goes over the random number.

Each time the game starts, the game will change the value of the crystals.

Match Your Score To This number:

- Click the crystals to add points -

Your total score for this game:

0

Wins:

Losses: