Skip to content

jenerationx/unit-4-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Crystal Collector Game

Click here to go to the live app!

Screenshot of Crystal Game

How the game works:

The player will be shown a random number at the start of the game.

When the player clicks on a crystal, it will add a specific amount of points to the player's counter total.

This amount is hidden until the player clicks a crystal. When a crystal is clicked, the player's counter total is updated.

The player wins if their counter total 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 will see a new random number. Also, all the crystals will have four new hidden values.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Bootstrap