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:

2025-06-13

Version:

0.24.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.24.0.tar.gz (20.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pysol_cards-0.24.0.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for pysol_cards-0.24.0.tar.gz
Algorithm Hash digest
SHA256 a985492da81aa1588dfc056d9a7c6ca83f66254c0b90f25afc682a70713d4d4b
MD5 2b597d02a8a0359cfc82e6dd83d8309c
BLAKE2b-256 b883b14bf5b2c8a8c6e6d793c0ebd292e8d82c20e9ee8104045087a1cabc6399

See more details on using hashes here.

Supported by

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