Dungeon square code completed