I’m making a dungeon generator, partly for fun, and partly to learn python.

I want the output to be plausible, so it’ll lay down in three stages:

  1. Make random mine/ natural caves/ fortress
  2. Add a civilization like dwarves/ elves/ gnomes to add rooms, traps at the entrance, maybe a library, and art (i.e. treasure).
  3. Make an invader, e.g. necromancer, goblins, or mad wizard.

At each stage rooms change, so the necromancer will turn dwarves into undead dwarves, and goblins will turn nice spaces into nasty spaces, and maybe set more traps.

Atm it’s in early stages, and uses graph-easy to output a conceptual map.

PRs and coding suggestions very welcome.

  • sgtnasty@lemmy.mlM
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I just went to check it out, what is graph-easy? You may need to document the dependencies. But keep up the good work! I dont want to discourage you.

    • Ghast@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      That’s the one!

      I guess I’m not taking it seriously, as it’s not a good solution. Even for basic display purposes I’m looking for something more like mermaid or graphviz, once the basic logic’s sorted out.