https://github.com/toastdriven/cardsim
Simulations of card games, written in Python.
https://github.com/toastdriven/cardsim
Last synced: 11 months ago
JSON representation
Simulations of card games, written in Python.
- Host: GitHub
- URL: https://github.com/toastdriven/cardsim
- Owner: toastdriven
- License: bsd-3-clause
- Created: 2013-10-04T03:42:03.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-04T03:42:21.000Z (over 12 years ago)
- Last Synced: 2025-06-07T16:54:56.035Z (11 months ago)
- Language: Python
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=======
cardsim
=======
Simulations of card games, written in Python.
Probably useful to no one, but fun & a good brain-break/kata for me.
:author: Daniel Lindsley
:license: New BSD
:version: 0.1.0
Requirements
============
* Python 3.3.2+
War
===
Usage::
# Without jitter, cards are picked up in a consistent order post-win.
python war.py
# With jitter, cards are picked up in a random order post-win.
# Yes, it turns out that matters!
python war.py yes