Welcome to the Number Guessing Game! This is a fun and interactive console-based game where the player needs to guess a randomly selected number within a defined range. The game features various customization options including difficulty levels, themes, hints, time limits, and more!
-
Multiple Difficulty Levels:
- Choose between different ranges for the secret number (1-50, 1-100, 1-200, or set your own custom range).
- Set a limit on the number of guesses you can make (5, 10, 15, or custom).
- Choose a time limit to add more challenge to the game.
-
Hints:
- Get helpful hints like whether the number is even or odd, divisible by 5, or a range where the number might be.
-
Themed Modes:
- Fantasy Adventure: You are a brave knight on a quest to find the legendary number.
- Space Exploration: Explore the mysterious depths of space to uncover a hidden number.
- Detective Mystery: Investigate a number code, solving clues along the way.
-
Replayability:
- You can choose to play again after each round, with new challenges and settings.
To run this game, you need a C++ compiler. You can use popular compilers like GCC or MinGW for Windows.
-
Clone this repository to your local machine:
git clone https://github.com/vaibhav0725/numtell.git
-
Navigate
cd numtell -
Commands to run and play
g++ main.cpp -o play
- For Windows
play
- For Mac
./play