I am fascinated with the world building procedures that the Dwarf Fortress and Ultima Raito Desgum have. Is there any other games similar to these games that are open source for research purpose? If there a demo program (open source as well) that I can review the codes for better understanding, I would appreciate it.
P.S. I just remember that Minecraft have world building abilities too.