node-maze-generator
Version:
Generate perfect mazes with Node using a growing tree algorithm
21 lines (20 loc) • 644 B
JavaScript
const Generator = require('./src/generators/generator.js');
const MazeGenerator = require('./src/generators/maze.js');
const RoomGenerator = require('./src/generators/room.js');
const StairGenerator = require('./src/generators/stairs.js');
const Renderer = require('./src/renderer.js');
const Cell = require('./src/cell.js');
const Grid = require('./src/grid.js');
const Utils = require('./src/utils.js');
module.exports = {
generators: {
generator: Generator,
maze: MazeGenerator,
room: RoomGenerator,
stairs: StairGenerator
},
renderer: Renderer,
cell: Cell,
grid: Grid,
utils: Utils
}