Skip to main content

Virtualization of card games with a standard deck

Project description

Gonzo Card Games

Library to create virtualizations of card games with a standard deck 52 card deck(s).

Background

The creation of this library was done as a learning exercise and as such is in an alpha state. The modules currently avaiable are intended to be the core modules needed to expand this library to include many different card games. The CardDeck module has all functionality required to manipulate/create individual playing cards and full card decks. The RatScrew module is an example of what virtualization of a card game can look like. Lastly, the Templates module was added to give a starting a point of adding new modules for other card games, where each card game module would have the same API calls for getting a games rules, controls, and for initiating play.

Installation

python -m pip install gonzo-card-games

Documentation

Documentation on how to use Gonzo Card Games library is available at https://gonz1247.github.io/gonzo_card_games/

Running locally with Docker

This project can be ran locally using Docker if just interested in playing the currently available built-in card games and not creating new ones. To run locally with Docker you must have Docker Desktop installed.

  1. Launch Docker Desktop on your machine
  2. Build the Docker image for gonzo_card_games: docker build -t gonzo_card_games .
  3. Launch the Docker container to play card games: docker run --rm -it gonzo_card_games

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

gonzo_card_games-0.0.2.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gonzo_card_games-0.0.2-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file gonzo_card_games-0.0.2.tar.gz.

File metadata

  • Download URL: gonzo_card_games-0.0.2.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for gonzo_card_games-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4a05baa0d290998d4ee661a7d01883f395f8814ff603f44ebd975d69ba94111e
MD5 2e5e82e251ef3d7ac1dd675e051c9e1e
BLAKE2b-256 11771ac2db7c1a71cd6e542a247e66761ffd5a6dc65a9b5d981182b26bf0283e

See more details on using hashes here.

File details

Details for the file gonzo_card_games-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gonzo_card_games-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f0da63a1228f3fb3c164029bcdfdbf4f70588332da887afbb36b4750d3ccb0c
MD5 822dd3814266866a371bbd557df77324
BLAKE2b-256 0a56c5e659f0f5d1a856c3c9677527c9b2c6ff54e336cf9e93c598f1a6f6647d

See more details on using hashes here.

Supported by

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