FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

codeX_ProgrammingExercises/ExerciseFour at master · codex-academy/codeX_ProgrammingExercises · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

#Create a game using TDD and then make work in a web browser

##Skills required

Programming concepts

  • variables
  • conditional statements
  • loops
  • functions
  • basic I/O

Specific skills

  • Javascript
  • JQuery
  • HTML
  • CSS

##Background

Write a simple game where a player needs to enter their name and a skill level easy/intermediate/advanced.

The game should generate a random number. The player of the game should guess the number generated.

If the guess is too high it should tell the user the it’s guess is too high or low.

For example:

  • Sorry <user_name> your guess is to low Or Sorry <user_name> your guess is too high

If the guess is correct display :

  • Well done, <user_name> the number is , it took you guesses”.

If the user selected easy:

  • the max number for the random number seed is 50, if intermediate it is 250 and if hard it should be 1000.

Bonus features:

  • Let the game remember the three best attempts.
  • Congratulate the user if he is in the top 3.

Back | FazBrowse Home | New Git URL