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 · Tall maze levels

MEIKYUU_TALL_LEVELSconstant

The fixed numbered tall-maze recipes, dimensions and difficulty metadata.

Import it

import { MEIKYUU_TALL_LEVELS } from "@johnmorrisdotca/meikyuu/levels/tall";

Definition

const MEIKYUU_TALL_LEVELS: readonly MeikyuuTallLevel[] = MEIKYUU_TALL_ROWS.map(([code, effort, cells, score], index) => {
    const recipe = parseRecipe(code);
    if (recipe === null)
        throw new Error(`${code} is not a recipe`);
    const size = Math.floor(index / MEIKYUU_TALL_PER_SIZE) + 1;
    return { kind: "maze", list: "tall", number: index + 1, size, width: TALL_WIDTHS[size - 1]!, inSize: (index % MEIKYUU_TALL_PER_SIZE) + 1, code, recipe, cells, effort, rating: ratingOf(effort), score, ratio: TALL_RATIO };
})

Examples

import { MEIKYUU_TALL_LEVELS } from "@johnmorrisdotca/meikyuu/levels/tall";
console.log(MEIKYUU_TALL_LEVELS.length);
1536

What it prints (run when this page was built)

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