GuessingGame is a simple and fun console application built with C#. The game generates a random number between 1 and 100, and the player has to guess the number. The game provides feedback if the guess is too high or too low and tracks the number of guesses.
- Random number generation
- User input for guessing the number
- Feedback on guesses (too high, too low, correct)
- Tracks the number of guesses
- Difficulty levels (Easy, Medium, Hard)
- High score tracker
- Limited number of guesses based on difficulty level
- The game will generate a random number between 1 and 100.
- You will be prompted to select a difficulty level:
- Easy (10 guesses)
- Medium (7 guesses)
- Hard (5 guesses)
- You will be prompted to enter your guess.
- The game will provide feedback:
- "Too high! Try again." if the guess is greater than the number.
- "Too low! Try again." if the guess is less than the number.
- "Congratulations! You guessed the number in X tries." if the guess is correct.
- The game will track and display the high score.
- Clone the Repository:
git clone https://github.com/akaday/GuessingGame.git cd GuessingGame - Build the Project:
dotnet build
- Run the Application:
dotnet run
- Fork the Repository.
- Create a Branch:
git checkout -b feature-branch
- Commit Your Changes:
git commit -am 'Add new feature' - Push to the Branch:
git push origin feature-branch
- Create a Pull Request.
This project is licensed under the MIT License.
Enjoy playing the GuessingGame and feel free to contribute to make it even more exciting! 🚀✨
Feel free to customize this README.md further based on any additional features or details you'd like to include.
If you have any other ideas or need further assistance, just let me know! 😊📘✨