An idea (yeah just one;) ) popped up in my mind :
What about using all the LUA capabilites to create a dungeon.lua that randomly generates a new dungeon everytime it is compiled ?
It would be like Dungeon Hack, except it would be so much better because it would be in DM

For the random, lua offers its own random number generator.
Here is how I would process :
define a "config.lua" file, where the player can set :
1/ the random seed (and set to -1 to have a random random seed)
2/ the difficulty / the difficulty slope
3/ the size of the dungeon
4/ several other parameters, like starting char level etc. Or maybe use a constant HoC level, and only change the champion levels ?
Then use these parameters in the following functions defined in other lua files :
- random level generator (influenced by size)
- random door, item & monster dispatcher
It looks very complicated BUT :
- all roguelike games do that. we/I can just take inspiration from them.
The main problems with the generators are :
A/ how to generate mostly "cool" levels ?
B/ how to prevent "stuck" situations ?
C/ how to balance the dungeon difficulty correctly ?
D/ how to allow additional stuff to be added by anyone without much effort ?