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

MEIKYUU_MAZE_LEVELSconstant

The fixed numbered flat-maze recipes and their measured difficulty metadata.

Import it

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

Definition

const MEIKYUU_MAZE_LEVELS: readonly MeikyuuMazeLevel[] = MEIKYUU_MAZE_ROWS.map(([code, effort, cells, score], index) => ({
    kind: "maze",
    number: index + 1,
    code,
    effort,
    rating: ratingOf(effort),
    score,
    cells,
    size: sizeOf(cells),
    inSize: (index % MEIKYUU_LEVELS_PER_SIZE) + 1,
    recipe: parsed(code, parseRecipe),
}))

Examples

import { MEIKYUU_MAZE_LEVELS } from "@johnmorrisdotca/meikyuu/levels";
console.log(MEIKYUU_MAZE_LEVELS.length);
1024

What it prints (run when this page was built)

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