Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.92 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.92 KB

Casino Number Guessing Game

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.

Gameplay Video

Watch the video

Installation

  1. Download the game files from the GitHub repository.
  2. Open the project in your preferred C++ IDE (Integrated Development Environment).
  3. Compile and run the game in the IDE.

How to Play

  1. When you run the game, you will be prompted to enter the minimum and maximum values of the number range.
  2. Once you enter the range, the game will generate a random number within that range, and you will be prompted to guess the number.
  3. You have a limited number of attempts to guess the number correctly.
  4. The game will provide hints to help you make educated guesses.
  5. If you guess the number correctly within the given number of attempts, you win! Otherwise, you lose the game.

File Handling

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.

Contributing

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.

License

This project is Open Source anyone can use this.