Skip to content

Ansh5748/GuessingNumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a fun and interactive "Guess the Number" game built using HTML, CSS, and JavaScript. The game allows players to select a level to guess a randomly generated number within a given range, and receive feedback after each attempt. Players can also compete against themselves to achieve better scores for each difficulty level.

Features Difficulty Levels: Easy: Guess a number between 1 and 50 within 10s. Medium: Guess a number between 1 and 100 within 30s. Difficult: Guess a number between 1 and 500 within 60s.

Interactive Feedback: The game provides immediate feedback after every guess (e.g., "Too High" or "Too Low"). Timer: A countdown timer adds an extra layer of challenge, requiring players to guess before time runs out. Hint Option: Players can get a helpful hint if they are struggling after their first attempt. Best Scores: The game tracks and displays the best scores for each difficulty level, motivating players to improve. Restart Option: Players can restart the game to play again.

How to Play Select Difficulty: Choose a difficulty level (Easy, Medium, or Difficult) to start the game. Guess the Number: Input a number within the displayed range and press the "Guess" button. Win or Lose: If you guess the number correctly within the time limit, you win! Otherwise, the game ends when time runs out. Hints: Use the "Hint" button if you need some assistance.

Technologies Used HTML: For structuring the game's UI. CSS: For designing a responsive and visually appealing layout. JavaScript: For implementing the game logic and interactivity.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published