2706f7b25b80586a94e319fc89fe12605c9ba6d3
Kanjin-Text-RPG
A text adventure RPG based on the Dungeons & Dragons 5e SRD.
Running
python main.py
Pure Python stdlib — no dependencies required.
Playing
The game uses a directed graph of scenes with directional exits (north, south, east, west). Type help at any prompt for a full command list. Basic commands:
go [direction]— move between sceneslook around— see what's in the areatake [item]/loot [container]— pick up itemsexamine [item]— inspect an iteminventory/equipment/stats— review your charactercast [spell]/rest— spellcasting and recovery
Character creation
Choose "Create a new character" for full creation with stat allocation, or "Pre-Gen Character" to pick one of three ready-to-play characters (Elven Wizard, Human Barbarian, Dwarven Cleric).
During playtesting, you can skip character creation by replacing startGame() in main.py with a pre-generated character and assigning stats directly (see main.py:274-290 and function_list.py:14-94).
Description
Languages
Python
97.1%
HTML
1.3%
Dockerfile
0.5%
JavaScript
0.4%
Batchfile
0.4%
Other
0.3%