version: 1.0.1
date: 2021-12-08
based on the grammar defined by fantomx11 in the RPG.net forum
Use Python Poetry for creating the virtual environment with
$ poetry install
Launch the CLI script
$ poetry run python dungeon_generator_cli.py
usage: dungeon_generator_cli.py [-h] [--post24] [--post30] [--seed SEED] [--debug]
optional arguments:
-h, --help show this help message and exit
--post24 Generate a Dungeon using the Post24 Grammar
--post30 Generate a Dungeon using the Post30 Grammar
--seed SEED Seed for the dungeon
--debug Debug information
Running the command
$ poetry run python dungeon_generator_cli.py --post30 --seed 15143
will result in something similar to this graph
GOAL: Dungeon Goal
START: Initial position
e: Enemy
eb: Main Boss
em: Mini Boss
external: Object from outside the Dungeon
n: Nothing/Explore
p: Puzzle
sw: Switch (Lever, etc)
EXIT: Another Entrance/Exit
GOAL: Dungeon Goal
START: Initial position
c: Challenge (Skill check)
gb: Bonus goal
m: Monster
n: Nothing/Explore
p: Puzzle
t: Trap
A simple analisis of the grammar elements relations can be found in the folder relations
$ poetry run python relations/rel24.py
- v1.0.1 Refill dice pool when it runs out (try --seed 17848)
- v1.0 Initial release