Welcome to the Casino Number Guessing Game! This is a simple console-based game where the player tries to guess the number chosen by the dealer within a certain range.
In this game, the dealer will choose a random number between 1 and 100, and the player will attempt to guess that number. The player will receive feedback from the dealer after each guess, indicating whether the guessed number is too high, too low, or correct. The game continues until the player guesses the correct number.
- Randomly generated secret number for each game
- Interactive gameplay with feedback on each guess
- Counting the number of attempts taken to guess the correct number
To play the game, follow these steps:
- Clone the repository:
git clone https://github.com/your_username/casino-number-guessing-game.git
- Navigate to the project directory:
cd casino-number-guessing-game
- Compile the source code:
g++ -o game main.cpp
- Run the game:
./game
Once you run the game, follow the instructions on the screen to make guesses. Enter your guess when prompted, and the game will provide feedback until you guess the correct number.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request. For major changes, please open an issue first to discuss your ideas.