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 · Numbered puzzle levels

mazeLevelsOfSizefunction

The levels of one size, in order: 256 of them, each a little harder than the one before.

Import it

import { mazeLevelsOfSize } from "@johnmorrisdotca/meikyuu/levels";

Definition

function mazeLevelsOfSize(size: MeikyuuSize): readonly MeikyuuMazeLevel[]

Parameters

NameTypeDescription
size"small" | "medium" | "large" | "huge"

The named level size, or numeric tall width specified by this signature.

Returns

readonly MeikyuuMazeLevel[]

The levels of one size, in order: 256 of them, each a little harder than the one before.

Examples

import { mazeLevelsOfSize } from "@johnmorrisdotca/meikyuu/levels";

console.log(mazeLevelsOfSize("small").length);
256

What it prints (run when this page was built)

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