Project for me, a person who wanted to build something moderately complex in python.
- You should have Python3 and pip installed on your machine.
- Start up a virtual environment:
python -m venv venvandsource 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 intopath/to/venv/lib/python3.11/site-packages/prompt_toolkit/styles/from_dict.pyand change ln 9 fromfrom collections import Mappingtofrom collections.abc import Mapping.
Star Wars RPG has a fairly unique dice system:
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.
Coming soon!
