Dungeon Generator for DJFoxy's New Game
- randomizes the room id of mobs & traps (entities)
- randomizes the location of these entities WITHIN the rooms
- picks a random final boss
- generates game metadata in json format
- picks a random map layout
- takes this data to create a map image
{
"data": [
{
"description": "entrance",
"mobs": [
"players"
],
"traps": []
},
{
"description": "hallways",
"mobs": [],
"traps": [
"lTurret"
]
},
{
"description": "hallways",
"mobs": [
"goblin"
],
"traps": [
"boulder"
]
},
{
"description": "hallways",
"mobs": [],
"traps": []
},
{
"description": "hallways",
"mobs": [
"golem"
],
"traps": []
},
{
"description": "hallways",
"mobs": [],
"traps": []
},
{
"description": "hallways",
"mobs": [
"zombie"
],
"traps": [
"acidPit"
]
},
{
"description": "bossRoom",
"mobs": [
"mummyWizard"
],
"traps": []
}
]
}