Seedable roguelike dungeon generator
npm install dungeonsh
npm install dungeon
`usage
`js
const Dungeon = require('dungeon')
`A
Dungeon is a plain object with the fields width, height, rooms, mazes, and doors.test.js for a running example.$3
Generate a Dungeon of the specified width and height with the given seed.
`js
var dungeon = Dungeon(25, 25)(Seed(Math.PI))
`
This function is curried, so you could assign it to a variable and generate multiple dungeons of that specific size later on.
`js
var generate = Dungeon(25, 25)
``