Crystal Collector

Student

How to Play:
There are four crystals displayed on the page. The player is shown a goal number at the start of the game. When the player clicks on a crystal, it adds a randomly generated but specific number to the player’s total score. Each time the player clicks a crystal, that amount is added to the total score. The player wins when their total score matches the goal number. The player loses if they go over the goal number. Each time the player wins or loses, their win or loss count increases respectively. Also each time the player wins or loses, the game resets with a new goal number as well as different value crystals. Also, the total score is reset to 0.

Technology Used:
HTML5
CSS
JavaScript
jQuery

September 2019