https://github.com/mukilan0608/number-guessing-game-
This is an interactive number guessing game where the player is tasked with guessing a randomly chosen number between 1 and 100 within 10 attempts. After each guess, the game provides feedback on whether the guess is too high or too low, and gives additional hints like "Warmer" or "Colder" to indicate whether the player is getting closer or not
https://github.com/mukilan0608/number-guessing-game-
cpp
Last synced: about 1 year ago
JSON representation
This is an interactive number guessing game where the player is tasked with guessing a randomly chosen number between 1 and 100 within 10 attempts. After each guess, the game provides feedback on whether the guess is too high or too low, and gives additional hints like "Warmer" or "Colder" to indicate whether the player is getting closer or not
- Host: GitHub
- URL: https://github.com/mukilan0608/number-guessing-game-
- Owner: MUKILAN0608
- Created: 2024-11-29T08:07:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-09T10:43:31.000Z (about 1 year ago)
- Last Synced: 2025-05-09T11:53:55.519Z (about 1 year ago)
- Topics: cpp
- Language: C++
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Description:
This is a fun and interactive number guessing game where the player is tasked with guessing a randomly chosen number between 1 and 100. The player has 10 attempts to guess the number correctly. After each guess, the game provides feedback, telling the player if their guess is too high or too low. Additionally, the game offers hints such as "Warmer" or "Colder" to indicate if the player's guess is getting closer to or farther from the correct number.
The game ends when the player either guesses the correct number or exhausts all 10 attempts.
Features:
Randomly generated number between 1 and 100.
10 attempts to guess the correct number.
Feedback after each guess: "Too high", "Too low", "Warmer", or "Colder".
Option to restart the game once finished.
Ends when the player guesses the correct number or uses up all attempts.
How to Play:
The game randomly selects a number between 1 and 100.
You are given 10 chances to guess the number.
After each guess, the game will tell you:
If your guess is too high or too low.
If you are getting warmer (closer to the correct number) or colder (farther from the correct number).
Keep guessing until you either guess the number correctly or exhaust all attempts.