Skip to content

ParnaRoyChowdhury777/Guess_The_Number_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess_The_Number_Game 🔢

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).

🎮 Game Rules

  • 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.

🧷 Features

  • 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.

🏁 Getting Started

Follow these instructions to set up the project on your local machine:

Prerequisites

Make sure you have the following installed:

  • Git
  • A web browser (e.g., Chrome, Firefox)

Installation

  • 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!

💻 Technologies Used

  • HTML
  • CSS
  • Vanilla JavaScript

🤝 Contributions

Contributions are welcome! If you find any bugs or want to add new features, please open an issue or submit a pull request.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature-name).
  5. Open a pull request

📃 License

MIT License © Parna Roy Chowdhury

📫 Where to contact ?

Contact: [parnaroychowdhury2020@gmail.com]

🙋‍♂️ Support

💙 If you like this project, give it a ⭐ and share it with friends!

Made with ❤️ by Parna Roy Chowdhury

About

This is a guessing number game built using HTML, CSS and Vanilla Javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published