Welcome to the "Guess The Number" game! Test your guessing skills and see if you can guess the correct number.
This is a simple web-based game which allows users to guess a randomly generated number within a specified range as chosen by the user himself (based on the difficulty level).
- The computer selects a random number between 1 and 10 (easy level), 50 (intermediate level) and 100 (hard level).
- The player has 3 (easy) / 5 (intermediate) / 7 (hard) chances to guess the correct number.
- After each guess, the player receives feedback on whether his guess is too high, too low or correct.
- If the player guesses the correct number within the given number of chances, he wins the game.
- If the player runs out of chances without guessing correctly, the game ends and the correct number is revealed.
- Interactive, responsive and user-friendly interface.
- Randomly generated number for each game.
- Provide feedback on whether the guess is too high, too low, or correct.
- Keep track of the number of attempts.
- If the player wins, he receives a score out of 100 based on the number of attempts.
Follow these instructions to set up the project on your local machine:
Make sure you have the following installed:
- Git
- A web browser (e.g., Chrome, Firefox)
- Clone the repository to your local machine :
git clone https://github.com/your-username/guess-the-number.git
- Navigate to the project directory:
cd Guess_The_Number_Game
- Open the
index.html
file in your preferred web browser. - Have fun playing!
- HTML
- CSS
- Vanilla JavaScript
Contributions are welcome! If you find any bugs or want to add new features, please open an issue or submit a pull request.
- Fork the repository.
- Create a new branch (git checkout -b feature/your-feature-name).
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature/your-feature-name).
- Open a pull request
MIT License © Parna Roy Chowdhury
Contact: [parnaroychowdhury2020@gmail.com]
💙 If you like this project, give it a ⭐ and share it with friends!
Made with ❤️ by Parna Roy Chowdhury