Welcome to the Casino Number Guessing Game! This is the complete solution for the project.
- Enter your name.
- Choose a difficulty level (Easy, Medium, Hard).
- Guess the secret number within the allowed range.
- Win money based on your performance!
src/
: Contains the source code for the game.tests/
: Contains unit tests for the game.Jenkinsfile
: Defines the Jenkins pipeline for building, testing, and delivering the game.CMakeLists.txt
: CMake configuration for building the project.
-
Clone the repository:
git clone https://github.com/YOUR-USERNAME/casino-number-guessing-game.git cd casino-number-guessing-game
-
Build the project:
cmake -B build -S . cmake --build build
-
Run the game:
./build/casino_game
-
Run the tests:
./build/test_game
To run the Jenkins pipeline:
1.Set up Jenkins with the C++ profile.
2.Create a new pipeline job and point it to this repository.
3.Run the pipeline to build, test, and deliver the game.