Project description
This game allows the player to guess and try to match the power number.
There will be four Infinity Stones displayed on the page, as well as a randomly selected number that will be shown to the player at the start of the game. When the player clicks on an infinity stone it will add a specific amount of points to the player's total score. The player wins the game if their total score matches the randomly selected number.
The amount of points each Infinity Stone is not shown to the player, but their total score is displayed and updated after clicking on their selected Infinity Stone. The game will keep track of the player's wins and losses while they are playing.
If the player successfully matches their score to the power number they will recieve 1 win, if the player's total score is above the power number the player get 1 loss, then the player will be asked to play again.
Once the game restarts, the player will be shown a new random number, all the Infinity Stones will now have new values, and the player's total score resets to 0.
Role
Design and development of the app.
Challenge:
Avoid operators chaining and allow for only a single decimal point per number.
Skills
Design Web development Responsive HTML CSS JQuery