Welcome to the Number Guessing Game! This is a simple console-based game written in C++ where the player has to guess a number between 1 and 100.
- The computer thinks of a number between 1 and 100.
- The player has a limited number of chances to guess the correct number.
- The difficulty levels are:
- Easy (10 chances)
- Medium (5 chances)
- Hard (3 chances)
- After starting the game, the program will prompt you to choose a difficulty level.
- Based on your choice, you will have a specific number of chances to guess the correct number.
- After each guess, the program will provide hints:
- If the guess is too high, it will tell you that the number is lower.
- If the guess is too low, it will tell you that the number is higher.
- You win the game if you guess the correct number within the allowed number of attempts.
- Interactive gameplay with hints to guide the player.
- Multiple difficulty levels to choose from.
- Playable in the terminal or command line.
- C++ compiler (GCC, Clang, or similar) installed on your system.
- A terminal or command line interface to run the game.
- Clone the repository to your local machine:
git clone https://github.com/Abhixse/NumberGuessGame.git cd number-guessing-game https://roadmap.sh/projects/number-guessing-game