Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jfdev001/cardgame-sim
Implement max and min priority queue for simulating drawing of cards from two different decks.
https://github.com/jfdev001/cardgame-sim
Last synced: 16 days ago
JSON representation
Implement max and min priority queue for simulating drawing of cards from two different decks.
- Host: GitHub
- URL: https://github.com/jfdev001/cardgame-sim
- Owner: jfdev001
- Created: 2020-11-16T04:17:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-19T20:52:20.000Z (about 3 years ago)
- Last Synced: 2024-10-28T12:07:50.236Z (2 months ago)
- Language: C++
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cardgame-sim
Implement max and min priority queue for simulating drawing of cards from two different decks. Whichever of the two players in the game draws a card worth more value than the other wins. The cards drawn are printed as the game plays and the number of wins are calculated at the end.TODO: Example output and build instructions.