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 · Solid shape levels

solidLevelOffunction

The one-based surface level, or null when this entry has no such kind, size or number.

Import it

import { solidLevelOf } from "@johnmorrisdotca/meikyuu/3d/levels/shapes";

Definition

function solidLevelOf(kind: SolidKind, size: SolidSize, n: number): MeikyuuSolidLevel | null

Parameters

NameTypeDescription
kindSolidKind

The native surface kind.

size"small" | "medium" | "large" | "huge" | "colossal"

The small, medium, large, huge or colossal collection.

nnumber

The one-based level number.

Returns

MeikyuuSolidLevel | null

The one-based surface level, or null when this entry has no such kind, size or number.

Examples

import { solidLevelOf } from "@johnmorrisdotca/meikyuu/3d/levels/shapes";
console.log(solidLevelOf("box","small",1)?.code);
box:2:hunt:507995874

What it prints (run when this page was built)

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