Skip to content
No description, website, or topics provided.
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


// * Four crystals displayed as buttons on the page.

// * A random number is shown at the start of the game.

// * When the player clicks on a crystal, it adds a specific amount of points to the player's total score.

// * The game hides this amount until the player clicks a crystal. // * When they do click one, it updates the player's score counter.

// * The player wins if their total score matches the random number from the beginning of the game.

// * The player loses if their score goes above the random number.

// * The game restarts whenever the player wins or loses.

// * When the game begins again, the player gets new random number. Also, all the crystals will have four new hidden values.

// * The game shows the number of games the player wins and loses.

You can’t perform that action at this time.