Skip to main content

A tool for prototyping card games

Project description

Skit

A tool for prototyping card games.

Inspired by squib, but I could never quite get my head around Ruby.

Installation

PyPI didn't like the name skit, so it's called skit-game:

pip install skit-game
# or
poetry add skit-game

But the package inside is just called skit.

Usage

See the examples for basic usage.

from skit import Deck

d = Deck(3) # make a deck of 3 cards, default size
d.background('#cccccc') # set a gray background
d.render_png('basic_{index}.png') # render basic_0.png, basic_1.png, and basic_2.png

Docs

API documentation is available at https://vtbassmatt.github.io/skit/.

Credits

  • Andy Meneely for the idea, and for the awesome Squib!
  • game-icons.net for icons used in the examples

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

skit_game-0.1.7.tar.gz (136.7 kB view details)

Uploaded Source

Built Distribution

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

skit_game-0.1.7-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file skit_game-0.1.7.tar.gz.

File metadata

  • Download URL: skit_game-0.1.7.tar.gz
  • Upload date:
  • Size: 136.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.21

File hashes

Hashes for skit_game-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9d71075016d0a6b1b85af83ac984016880beceee2423f3c84bb18c0d4d1a08bb
MD5 f0d2fc5d08ae946c713b48140752c58e
BLAKE2b-256 d5aa3287729b4b8a41315a35880473ce998466a2e952ec974da80821d5705054

See more details on using hashes here.

File details

Details for the file skit_game-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: skit_game-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.21

File hashes

Hashes for skit_game-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8a7f6d9972cf7eea3583131bf33c549d3cea40c7cf8d452dec4c26cac415fc36
MD5 3f9d66d6fb620b16384f8a2a32ca284d
BLAKE2b-256 cdb2bba513d38d5551a620ab2b157c98dfb107df7e8b3adb04d7f9b27cabf199

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