A lot of the ideas in the dungeon generator come from my collection of random tables.
 
Labyrinth Lord and Mutant Future are free pen-and-paper role-playing games. Labyrinth Lord repeats the rules from an old version of Dungeons & Dragons.
 
Mutant Future is set after a nuclear war. It's not supposed to be realistic: characters can be robots, intelligent plants, mutants with powers like being able to fly, and so on. It's similar to an old game called Gamma World. However the rules of Mutant Future are almost the same as the rules for Labyrinth Lord. So you can use the same adventure for either game. The main difference is that in Mutant Future you start a lot more powerful than in Labyrinth Lord.
 
This generator creates dungeons that are sort of half-and-half - with both magic and technology.
 
You should look at Section 9 of Mutant Future especially, because it gives rules for combining the two games (by making the 'mutant' characters less powerful).
 
The rules for Labyrinth Lord are here, the Mutant Future rules are here. Both games are in pdf format, which needs Acrobat Reader. In the highly unlikely event that your computer doesn't have Acrobat Reader, it's here (and also free).