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 · Dice surface levels

solidLevelsOffunction

The native surface-level collection for this kind and size; empty when this entry has none.

Import it

import { solidLevelsOf } from "@johnmorrisdotca/meikyuu/3d/levels/dice";

Definition

function solidLevelsOf(kind: SolidKind, size: SolidSize): readonly MeikyuuSolidLevel[]

Parameters

NameTypeDescription
kindSolidKind

The native surface kind.

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

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

Returns

readonly MeikyuuSolidLevel[]

The native surface-level collection for this kind and size; empty when this entry has none.

Examples

import { solidLevelsOf } from "@johnmorrisdotca/meikyuu/3d/levels/dice";
console.log(solidLevelsOf("prism","small").length);
64

What it prints (run when this page was built)

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