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

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

28.6 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
findSolidLevelsfunctionAll surface levels in this entry matching the optional kind and size filters.
MEIKYUU_SOLID_LEVELSconstantEvery list this entry has: a solid, then a size.
MEIKYUU_SOLID_PER_LISTconstantHow many levels each size of each solid has: eight pages of eight.
MeikyuuSolidLeveltypeA LEVEL OF A SOLID, AND HOW A FILE OF ROWS BECOMES THE LISTS: the shape every level entry of the solids shares (3d/levels, 3d/levels/dice, 3d/levels/shapes, 3d/levels/all), so that each file of recipes is turned into levels by the same code, and a page that shows one solid loads the file of that solid and no other.
SOLID_CUTSconstantHow many ways each solid is cut, for each size: small, medium, large, huge and colossal.
SOLID_KINDSconstantTHE SURFACE OF A SOLID AS A CELL GRAPH: the one thing a maze over a solid is made on.
SOLID_MORE_DICEconstantThe seven dice that came after the first five, and the six shapes.
SOLID_SIZE_NAMESconstantTHE SIZES OF THE LEVELS OF A SOLID: three to each, small, medium and large, cut so that they come to about the same number of cells whichever solid it is (under a hundred, about three hundred, and six to seven hundred), and so that the one kind of solid is not the easy one: a cube cut 4, 7 and 10 ways has 96, 294 and 600 cells, a globe at frequency 3, 5 and 8 has 92, 252 and 642, an octahedron cut 3, 6 and 9 has 72, 288 and 648.
solidCellsOffunctionHow many cells a solid has at a size.
solidCutOffunctionThe cut of a solid at a size.
SolidKindtypeA supported polyhedron, die or shaped surface for a maze.
solidLevelOffunctionThe one-based surface level, or null when this entry has no such kind, size or number.
solidLevelsOffunctionThe native surface-level collection for this kind and size; empty when this entry has none.
SolidSizetypeA named small, medium, large, huge or colossal surface-maze collection.

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