A fun and interactive number guessing game built with HTML, CSS, and JavaScript. Players try to guess a randomly generated number between 1 and 10 within 5 attempts.
- Clean and professional UI with gradient background
- Responsive design that works on all devices
- Score tracking (attempts and wins)
- Animated success messages
- Hints to guide the player (too high/too low)
- Automatic game reset after completing a round
- Option to manually start a new game
- HTML5
- CSS3 with animations
- JavaScript (ES6+)
- Bootstrap 5.3.3
- Bootstrap Icons
- The game will randomly select a number between 1 and 10
- Enter your guess in the input field
- Click the "අනුමාන කරන්න" (Guess) button
- You'll receive feedback whether your guess is too high, too low, or correct
- You have 5 attempts to guess the correct number
- Win by guessing the correct number
- The game automatically resets after a win or when you run out of attempts
- Click "නව ක්රීඩාව" (New Game) to restart at any time
- Clone the repository or download the ZIP file
- Extract the files to your desired location
- Open
index.html
in your web browser