Skip to main content

the python rpg toolkit

Project description

Coverage Status

RPGTK

Role-Playing Game Toolkit is a platform for build Python RPG's systems.

Installing

Install and update using pip:

$ pip install -U rpgtk

A simple example

# dice.py
from rpgtk import Dice

dice = Dice(sides=20)

dice.roll()

print(dice)
python dice.py
'D20[6]'
# advantage roll
from rpgtk import Dice

dice = Dice(sides=20)

advantage_roll = max(dice * 2)

print(advantage_roll)

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

rpgtk-0.4.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

rpgtk-0.4.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file rpgtk-0.4.1.tar.gz.

File metadata

  • Download URL: rpgtk-0.4.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Linux/5.15.0-1019-azure

File hashes

Hashes for rpgtk-0.4.1.tar.gz
Algorithm Hash digest
SHA256 66811917fedbc4794cc4fe97a9700e77241b81c01ed4f58c0ee42427c8fa052f
MD5 2741382fd1615fd0d1bca3defdc66c85
BLAKE2b-256 af590d64e2ab66bcb6a33ba61907a9f40384dc77ec0b9b2197ef2a056ebda264

See more details on using hashes here.

File details

Details for the file rpgtk-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: rpgtk-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Linux/5.15.0-1019-azure

File hashes

Hashes for rpgtk-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9654bebfd147ac1b0f609424fb50629d261c375e2966e8451663d461eaec0827
MD5 0be2fda7c8f869a2b34f1cd1acde7816
BLAKE2b-256 1bf330a637cee9cd28fcc2344f3e0dbb17b2c8a675591f8c9e380b72be311ad1

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