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:

2023-01-11

Version:

0.14.3

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.3.tar.gz (18.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pysol_cards-0.14.3.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for pysol_cards-0.14.3.tar.gz
Algorithm Hash digest
SHA256 b0fbfd38615bfc6fd755dab58505a9ae162d0da1866c25ca9141938b5823f061
MD5 cbe3d599a056ce79a9d98d5a1cc0d33e
BLAKE2b-256 4f9034c8f488a29dd76a945606bd915f019b37f56d8aead2b89df8f1b1f811a8

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