A fun Number Guessing Game built with HTML, CSS, and JavaScript. The game lets you guess a number between 1 and 100, gives you feedback on whether your guess is too high or too low, and provides hints to guide you closer to the correct number. Additionally, you can use voice input to make your guesses, and the game has a cool confetti animation when you win!
- Voice Input Support: Guess the number by speaking it out loud.
- Hints: Get real-time hints based on how close your guess is to the correct number.
- Sound Effects: Enjoy sound effects for correct, high, and low guesses.
- Confetti Animation: Celebrate your success with animated confetti when you guess correctly.
- Dark Mode: Toggle dark mode for a better night-time experience.
- Score Tracking: Track your best score (the least number of attempts to guess correctly) using localStorage.
- Enter a number between 1 and 100 in the input box.
- Click the "Submit Guess" button or press Enter to submit your guess.
- You'll receive feedback on whether your guess is Too Low, Too High, or Correct.
- Try to guess the number in the least number of attempts to set a Best Score.
- You can also use voice input to say your guess by clicking the "🎤 Speak Guess" button.
-
Clone this repository to your local machine:
git clone https://github.com/Vivekkk-1/number-guessing-game.git
