UNPKG

@miketmoore/maze-generator

Version:

This is a javascript library, written in TypeScript that generates a maze data structure.

10 lines (9 loc) 299 B
import { IGrid } from './grid'; import { Strategy } from './carve-maze'; export { IGrid } from './grid'; export { ICell } from './cell'; interface Params { readonly rows: number; readonly columns: number; } export declare const mazeGenerator: (params: Params, strategy?: Strategy) => IGrid;