Skip to main content

Deal PySol FC Cards

Project description

pysol_cards. Deal PySol FC Cards

Info:

This is the README file for pysol_cards.

Author:

Shlomi Fish <shlomif@cpan.org>

Copyright:

© 2020, Shlomi Fish.

Date:

2021-11-11

Version:

0.14.0

https://travis-ci.org/shlomif/pysol_cards.svg?branch=master

pysol_cards

Deal PySol FC Cards

The pysol-cards python modules allow the python developer to generate the initial deals of some PySol FC games. It also supports PySol legacy deals and Microsoft FreeCell / Freecell Pro deals.


Example:

from pysol_cards.cards import CardRenderer
from pysol_cards.deal_game import Game
from pysol_cards.random_base import RandomBase
ms24_str = Game(
    game_id="freecell",
    game_num=24,
    which_deals=RandomBase.DEALS_MS,
    max_rank=13
).calc_layout_string(
    CardRenderer(print_ts=True)
)
print(ms24_str, end='')

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

pysol_cards-0.14.0.tar.gz (18.3 kB view details)

Uploaded Source

File details

Details for the file pysol_cards-0.14.0.tar.gz.

File metadata

  • Download URL: pysol_cards-0.14.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for pysol_cards-0.14.0.tar.gz
Algorithm Hash digest
SHA256 45442f9039c1e99dfcd93047df7f77bbe7886de909f098f5406d8056c9020e09
MD5 4e292a0a4ef9d5bf59cf4b47ff592527
BLAKE2b-256 c7cad0abfd25eadbd7a1e45c93a4904a88a67bc7f881ff79e345dc64e39ebc42

See more details on using hashes here.

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