StevenGann / TRPG

An OOP C# framework for Text RPG games, inspired by the improved console window in Windows 10.
6 stars 4 forks source link

Dungeon generation bugs #3

Open StevenGann opened 8 years ago

StevenGann commented 8 years ago

There's a couple serious issues with the current random dungeon generation. The current generation treats it like a quad-tree, but trees were never really my forte.

Paradox rooms: As the dungeon branches, the tips of some branches have door indicating that they continue on, but going through those doors will put you back in the same room. Even though it says you can go West, no matter how many times you go West you're still in the same room.

Infinite Loop: When the dungeon is generated on started, there's a small chance of an infinite loop. Stepping through the code, it's easy to see why, but I haven't found a good way to fix it yet.