Guess the Number is a console-based game written in C where the player tries to guess a randomly generated secret number. It features multiple difficulty levels and a customizable range option.
When you start the program, you can choose from 4 difficulty levels:
- Easy: Number between 1 and 10.
- Medium: Number between 1 and 50, with intermediate hints.
- Hard: Number between 1 and 100, with more precise and challenging hints.
- Custom Range: You define the minimum and maximum values for the guessing range.
After correctly guessing the number, the game will display how many attempts it took and ask if you'd like to play again.
You can compile the program using gcc:
gcc guessTheNumber.c -o guessTheNumberAnd run it with:
./guessTheNumber
This is a personal learning project, but contributions, suggestions, and improvements are welcome!
This project is licensed under the MIT Licence.