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

bandOffunction

Read the easy, medium or hard third of a numbered level collection.

Import it

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

Definition

function bandOf(n: number, count?: number): MeikyuuBand

Parameters

NameTypeDescription
nnumber

The level number, random bound or surface subdivision specified by the signature.

count (optional)number

The collection size or number of dice/items specified by the signature.

Returns

MeikyuuBand

Read the easy, medium or hard third of a numbered level collection.

Examples

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

console.log(bandOf(1,256));
easy

What it prints (run when this page was built)

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