GuessMaster is an interactive number guessing game developed using HTML, CSS, and JavaScript. The game challenges players to guess a randomly generated number within a limited number of attempts while providing hints and feedback after each guess.
The project focuses on JavaScript logic building, DOM manipulation, event handling, and responsive user interface design.
- Random number generation
- User input validation
- Instant feedback on guesses
- Win and lose conditions
- Current score display
- High score tracking
- Attempt counter
- Real-time game updates
- Dynamic messages and hints
- Responsive design for all devices
- Restart game functionality
- Smooth interactions
- Clean and modern UI
- HTML5
- CSS3
- JavaScript (ES6)
- Visual Studio Code
- Git
- GitHub
GuessMaster
│
├── style.css
│
├── script.js
│
├── images
│
├── index.html
│
└── README.md
git clone https://github.com/your-username/GuessMaster.gitOpen:
index.html
in your browser.
No additional installation is required.
-
Start the game.
-
Enter a number in the input field.
-
Submit your guess.
-
Receive feedback:
- Too High
- Too Low
- Correct Guess
-
Continue until you guess the correct number.
-
Try to beat your high score.
- JavaScript Fundamentals
- DOM Manipulation
- Event Handling
- Conditional Logic
- Random Number Generation
- Responsive Web Design
- Interactive UI Development
- Difficulty Levels
- Timer Mode
- Multiplayer Mode
- Sound Effects
- Leaderboard System
- Dark Mode