An interactive and engaging "Guess the Number" game built with HTML, CSS, and JavaScript. Players try to guess a random number between 1 and 50 within 10 attempts. The game features a sleek dark-themed glassmorphism UI design with glowing buttons and animations for an immersive experience.
https://hassan-jjs-game.netlify.app/
- Random number between 1 and 100.
- Input validation for valid numeric guesses only.
- Feedback for too high, too low, or correct guesses.
- Limited 10 attempts per game.
- Persistent best score saved in browser localStorage.
- Responsive and visually attractive dark theme with animations.
- HTML5 for structuring the page.
- CSS3 with glassmorphism and neon glow effects.
- Vanilla JavaScript for game logic and localStorage.
- Enter a guess number between 1 and 100.
- Click "Check" to submit your guess.
- The game will tell you if the guess is too high or too low.
- Guess the correct number before running out of tries.
- Your best score (lowest guesses) is saved and displayed.
- Click "Restart" to play again.
Simply clone this repository or download the files and open the index.html file in any modern web browser.
Simply clone this repository or download the files and open the index.html file in any modern web browser.