Skip to content

hoangtuong1102/guess-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess My Number!

"Guess My Number!" is a fun and interactive game where players try to guess a randomly generated number between 1 and 20. The game keeps track of the player's score and high score.

Demo

You can view a live demo of the game here: Guess My Number Demo

How to Play

  1. The game generates a random number between 1 and 20.
  2. Players enter their guess in the input field and click the "Check!" button.
  3. The game provides feedback whether the guess is too high, too low, or correct.
  4. The score decreases by 1 for each incorrect guess.
  5. If the guess is correct, the game ends and the score is compared to the high score.
  6. Players can click the "Again!" button to reset the game and start over.

Project Structure

  • index.html: The HTML file that contains the structure of the game.
  • style.css: The CSS file that contains the styling of the game.
  • script.js: The JavaScript file that contains the game logic.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published