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

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/dice";

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/dice";
console.log(solidLevelOf("prism","small",1)?.code);
prism:3:wilson:101543354

What it prints (run when this page was built)

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