Skip to the content

Meikyuu迷宮

Generate seeded mazes and arrow puzzles, follow numbered levels, and play on flat grids or three-dimensional surfaces.

Meikyuu is the Japanese word 迷宮 for labyrinth. About the name

Contents

Reference · Surface maze rules and geometry

SolidAlgorithmtype

A maze-carving algorithm supported on a surface graph.

Import it

import type { SolidAlgorithm } from "@johnmorrisdotca/meikyuu/3d";

Definition

type SolidAlgorithm = (typeof SOLID_ALGORITHMS)[number];

Examples

import type { SolidAlgorithm } from "@johnmorrisdotca/meikyuu/3d";

const value: SolidAlgorithm = "backtracker";
console.log(value);
backtracker

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/meikyuu 3.2.0.