Source code for dungeon thing.