Skip to content

CLI tool for rolling dice and creating characters for SWRPG.

Notifications You must be signed in to change notification settings

jlr7245/swrpg-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWRPG CLI

Project for me, a person who wanted to build something moderately complex in python.

Running it

  • You should have Python3 and pip installed on your machine.
  • Start up a virtual environment: python -m venv venv and source venv/bin/activate
  • Install requirements: pip install -r requirements.txt
  • Run the program: python entry.py

You may run into an error along the lines of Cannot import name "Mapping" from "collections". As per this stackoverflow post, the solution here is to go into path/to/venv/lib/python3.11/site-packages/prompt_toolkit/styles/from_dict.py and change ln 9 from from collections import Mapping to from collections.abc import Mapping.

Dice Roller

Star Wars RPG has a fairly unique dice system:

Diagram of SWRPG dice

The CLI dice roller allows you to input the number and type of dice you'd like to use. For example, a roll with two Ability dice, one Proficiency die, two Challenge dice, and one Boost die would be formatted as 2a 1p 2c 1b.

Character Creator

Coming soon!

About

CLI tool for rolling dice and creating characters for SWRPG.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages