Skip to content

is-gabs/rpgtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published