https://github.com/zachstence/cardmatchingfight
https://github.com/zachstence/cardmatchingfight
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zachstence/cardmatchingfight
- Owner: zachstence
- Created: 2019-04-25T01:39:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-25T01:50:58.000Z (over 7 years ago)
- Last Synced: 2025-01-13T12:26:01.673Z (over 1 year ago)
- Language: C++
- Size: 158 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CardMatchingFight
## Downloading
Simply clone my GitHub repository and you have all the code ready to go. No extra requirements to install.
`$ git clone https://github.com/zachstence/CardMatchingFight`
## Running the Game
First compile the main class
`$ g++ -std=c++11 -pthread main.cpp`
Then, run the program and provide a seed to use for random number generation
(to ensure a predictable outcome)
`$ ./a.out 1234`
If no seed is provided, the program will use a random device to ensure a random outcome.
The program will print information about the game to the screen, as well as save information in a
log file named "`log.txt`".
## Report
I have written a [short report](report.pdf) detailing my design and implementation of the game.
------------------------------
Zach Stence, 4/26/2019