UNPKG

@miketmoore/maze-generator

Version:

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

4 lines (3 loc) 196 B
import { IGrid } from './grid'; export declare type Strategy = 'recursive-backtracking' | 'iterative'; export declare function carveMaze(rows: number, columns: number, strategy: Strategy): IGrid;