Skip to main content

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

  1. Simulation of multiple games in a batch.
  2. Configurable game rules.
  3. Test and console-based IO interfaces.

Installation

  1. Clone the repository.
  2. Navigate to the project directory
  3. 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


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)

Uploaded Source

Built Distribution

cardsharp-0.3.0-py3-none-any.whl (27.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page