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 · Mazes, arrows and mixed boards

StoneOptiontype

What the stones option of mountMeikyuu takes: true for the defaults, or any of the rules (limit: null for no limit).

Import it

import type { StoneOption } from "@johnmorrisdotca/meikyuu";

Definition

type StoneOption = boolean | {
    readonly limit?: number | null;
    readonly reach?: number;
};

Examples

import type { StoneOption } from "@johnmorrisdotca/meikyuu";

const value: StoneOption = {limit:5,reach:1};
console.log(value);
{ limit: 5, reach: 1 }

What it prints (run when this page was built)

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