dungeongenerator

ES6 dungeon generator

Usage no npm install needed!

<script type="module">
  import dungeongenerator from 'https://cdn.skypack.dev/dungeongenerator';
</script>

README

Dungeon generator

Requirements

  • node.js / es6 / babel + es6
  • debug -- for logging

Usage

Node

npm install --save dungeongenerator

Then write something like:

const DungeonGenerator = require('dungeongenerator')
let dungeon = new DungeonGenerator(16, 16, 3, 4) // h, w, roomsCount, roomAvgSize
console.log(dungeon.maze)

License

This software is covered by MIT license.

Contacts

Grigory Malivenko <[nerox8664@gmail.com]>