Async Playing Card Library
Project description
CardSharp
Description
CardSharp is a Python package for simulating and testing card games. The package currently supports Blackjack but can be extended to support more card games.
Key Features
- Simulation of multiple games in a batch.
- Configurable game rules.
- Test and console-based IO interfaces.
Installation
- Clone the repository.
- Navigate to the project directory
- Install dependencies with Poetry.
Usage
You can run blackjack simulation mode with:
$ poetry shell
$ poetry install
$ python cardsharp/blackjack/blackjack.py --simulate --num_games 1000
For more usage instructions, please refer to the documentation and the code comments.
Contributing
Contributions are welcome!
License
This project is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cardsharp-0.3.0.tar.gz
(21.5 kB
view hashes)
Built Distribution
cardsharp-0.3.0-py3-none-any.whl
(27.6 kB
view hashes)
Close
Hashes for cardsharp-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4818d95fffd003b62b2bdf68e39cdd1cdb40536aa3ea91851cb7de1a325a8408 |
|
MD5 | 129ca99fe7340ec19d817a3d28cd5150 |
|
BLAKE2b-256 | 2ae75210dc849e6cf47d37df87a009242ebc01ffe87f0b00747dc69b50cf8155 |