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
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d71075016d0a6b1b85af83ac984016880beceee2423f3c84bb18c0d4d1a08bb
|
|
| MD5 |
f0d2fc5d08ae946c713b48140752c58e
|
|
| BLAKE2b-256 |
d5aa3287729b4b8a41315a35880473ce998466a2e952ec974da80821d5705054
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a7f6d9972cf7eea3583131bf33c549d3cea40c7cf8d452dec4c26cac415fc36
|
|
| MD5 |
3f9d66d6fb620b16384f8a2a32ca284d
|
|
| BLAKE2b-256 |
cdb2bba513d38d5551a620ab2b157c98dfb107df7e8b3adb04d7f9b27cabf199
|