项目作者: zaynaib

项目描述 :
Week 4 Homework Assignment Crystal-Collector
高级语言: JavaScript
项目地址: git://github.com/zaynaib/Crystal-Collector-Game.git
创建时间: 2017-09-21T22:23:25Z
项目社区:https://github.com/zaynaib/Crystal-Collector-Game

开源协议:

下载


Pokemon Crystal-Collector-Game

Week 4 Homework Assignment

The player will have to guess the answer, just like in Hangman.
This time, though, the player will guess with numbers instead of letters.

Here’s how the game works:

  • There will be four crystals displayed as pokemon buttons on the page.

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

  • When the user clicks on a pokemon, it will add a specific amount of points to the user’s total score.

  • The user wins if their total score matches the random number from the beginning of the game.

  • The user loses if their score goes above the random number.

  • The game restarts whenever the user wins or loses.

Come and play!

Link to Crystal Collector Game