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 · Original numbered levels

legacyLevelOffunction

The 1.0.0 level with this number, or null.

Import it

import { legacyLevelOf } from "@johnmorrisdotca/meikyuu/levels/legacy";

Definition

function legacyLevelOf(number: number): LegacyMazeLevel | null

Parameters

NameTypeDescription
numbernumber

The original one-based legacy level number.

Returns

LegacyMazeLevel | null

The 1.0.0 level with this number, or null.

Examples

import { legacyLevelOf } from "@johnmorrisdotca/meikyuu/levels/legacy";

console.log(legacyLevelOf(1)?.code);
square:3x3:prim:enter-leave:7920

What it prints (run when this page was built)

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