I believed my quest over after I discovered TABC3DD’S excellent dungeon generator code. However, a recent forum conversation led me to an even better resource: a document that explores how to generate levels and assess their fun and difficulty factors for the player.
No kidding. The system utilizes graph grammars and variables to let you generate the ideal level – plus there are plenty of useful case studies in there too.
Without further ado, click this DOWNLOAD LINK.