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 · Surface maze rules and geometry

isSolidDiefunction

Whether a solid is among the dice (the rest are shapes).

Import it

import { isSolidDie } from "@johnmorrisdotca/meikyuu/3d";

Also exported from: @johnmorrisdotca/meikyuu/3d/levels/all

Definition

function isSolidDie(kind: string): kind is (typeof SOLID_DICE)[number]

Parameters

NameTypeDescription
kindstring

The native puzzle family or surface shape specified by this signature.

Returns

boolean

Whether a solid is among the dice (the rest are shapes).

Examples

import { isSolidDie } from "@johnmorrisdotca/meikyuu/3d";

console.log(isSolidDie("cube"));
true

What it prints (run when this page was built)

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