dungeons-generator
v0.1.0
Published
Dungeons generator
Downloads
2
Readme
Dungeons Generator
Dungeon generator library
Usage
npm install --save dungeons-generator
const { Dungeon } = require('dungeons-generator');
const size = 6; // 6 rooms of radius
const percent = 50; // 50% chance of having a door (4 times per room)
const dungeon = new Dungeon('my-dungeon', size, percent);
Documentation
Documentation is available in development environment
make doc
Demo
Demo is available in development environment
make demo