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

legacyLevelOfCodefunction

What became of a recipe the 1.0.0 list had, or null when it was not one of its levels.

Import it

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

Definition

function legacyLevelOfCode(code: string): LegacyMazeLevel | null

Parameters

NameTypeDescription
codestring

The native encoded recipe or saved run.

Returns

LegacyMazeLevel | null

What became of a recipe the 1.0.0 list had, or null when it was not one of its levels.

Examples

import { MEIKYUU_LEGACY_MAZE_LEVELS, legacyLevelOfCode } from "@johnmorrisdotca/meikyuu/levels/legacy";

console.log(legacyLevelOfCode(MEIKYUU_LEGACY_MAZE_LEVELS[0].code)?.number);
1

What it prints (run when this page was built)

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