The Casino Number Guessing Game is a fun and challenging game developed in C++ as a first-semester project. In this game, the player must guess a random number generated by the computer within a given range. The player has a limited number of attempts to guess the correct number, and the game provides hints to help the player make educated guesses. The game features an easy-to-use interface and provides hours of entertainment for players of all skill levels. This game is a great example of how to use C++ to create an interactive and engaging gaming experience.
- Download the game files from the GitHub repository.
- Open the project in your preferred C++ IDE (Integrated Development Environment).
- Compile and run the game in the IDE.
- When you run the game, you will be prompted to enter the minimum and maximum values of the number range.
- Once you enter the range, the game will generate a random number within that range, and you will be prompted to guess the number.
- You have a limited number of attempts to guess the number correctly.
- The game will provide hints to help you make educated guesses.
- If you guess the number correctly within the given number of attempts, you win! Otherwise, you lose the game.
The game uses file handling to keep track of high scores. When a player wins the game, their score is added to a file called Record.txt
. The file contains the name and score of each player who has won the game, sorted in descending order by score.
Contributions are always welcome! If you would like to contribute to this project, please fork the repository and submit a pull request with your changes.
This project is Open Source anyone can use this.