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
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.3.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for skit_game-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba5ff4e9d6c898247ecd7accf2498a6151aa243f41687323d460f9c07e73ccc0 |
|
MD5 | 31470c0f01fff65cd6610f668cec9569 |
|
BLAKE2b-256 | 1ca8f4818d80a246cb7a13cc9a41ea7a7221691c388d35c0e108a4e0ecd78bf9 |