maze-generation
Version:
A package to generate mazes using the depth first or hunt and kill algorithm. Mazes can be generated with seed values for reproducibility
16 lines • 346 B
TypeScript
export type Direction = "up" | "down" | "left" | "right";
export type Coordinate = {
x: number;
y: number;
};
export type ColumnRowCoordinate = {
row: number;
column: number;
};
export type Config = {
width: number;
height: number;
seed?: number | string;
algorithm?: string;
};
//# sourceMappingURL=types.d.ts.map