Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bartekpog/macau-engine
Engine of the Macau card game simulator
https://github.com/bartekpog/macau-engine
Last synced: 17 days ago
JSON representation
Engine of the Macau card game simulator
- Host: GitHub
- URL: https://github.com/bartekpog/macau-engine
- Owner: BartekPog
- Created: 2020-10-24T09:10:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-12T17:15:18.000Z (about 4 years ago)
- Last Synced: 2024-10-28T14:38:37.263Z (2 months ago)
- Language: C++
- Size: 1.26 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Macau engine
This project contains a Macau card game engine implemented in C++. It could be used to test and compare different game strategies and algorithms.
###### Sample output
```bash
bpogodzinski@ubuntu $ ./makao_sim
MACAU SIMULATOR by Bartłomiej Pogodziński 2020Select algorithms:
adv-placeholder
placeholderType the names separated by space: adv-placeholder adv-placeholder placeholder adv-placeholder
How many games shall be played: 10000Starting simulation
Progress: ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓Results:
adv-placeholder: 36.31%
placeholder: 0.00%
adv-placeholder: 32.60%
adv-placeholder: 31.08%
```#### Usage
Currently adding other algorithms needs importing it in `Game.h`, `MainInterface.h` and also adding it to the list in `Game.cpp` and `MainInterface.cpp`.
I know. I am working on it.
#### Contribution
If you have a suggestion or want to participate feel free to make pull requests, add issues or email me directly.