ID:38723
 
Keywords: maps
Well, the first draft of my first attempt at dungeon generation is done.

For an example, see http://www.tibbius.com/users/koil/dungeon.txt

Each dungeon is handled by a /dungeon datum, and each feature (such as corridor, a circular room, a square room, etc) is handled by a /feature datum. The /dungeon holds all of it's /features, and each /feature has a parent variable linking it to the /feature it was connected to. So you could take any point in the dungeon, and trace back to the center.

However, I'm not very happy with it. You see that there are plenty of dead ends, which I don't like that much. It's also a bit slow, and it doesn't make very good loops. Therefore, I am going to write another one that will hopefully be much better.

I'll post about it when I finish. ;)