Skip to content

Mkelsey25/unit-4-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

unit-4-game

Crystal Collector Game Uses html, css, google fonts, and JQuery.

Uses a for loop to create crystal images, and math random to assign a crystal value (math random was also used outside of the for loop as a global variable to set the target value.

On-click function used to add hidden crystal value to the counter each time a crystal image was clicked.

If/else statement used to determine losses, wins, and game restart.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors