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 recipe readers

solidRecipesOffunction

The recipes of a solid at a size, in the order of its levels (level 1 first), as the codes buildSolidMaze takes; empty for a solid or a size there is none of.

Import it

import { solidRecipesOf } from "@johnmorrisdotca/meikyuu/3d/levels/recipes";

Definition

function solidRecipesOf(kind: string, size: string): readonly string[]

Parameters

NameTypeDescription
kindstring

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

sizestring

The named level size, or numeric tall width specified by this signature.

Returns

readonly string[]

The recipes of a solid at a size, in the order of its levels (level 1 first), as the codes buildSolidMaze takes; empty for a solid or a size there is none of.

Examples

import { solidRecipesOf } from "@johnmorrisdotca/meikyuu/3d/levels/recipes";

console.log(solidRecipesOf("cube","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.