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

Numbered puzzle levels

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

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

Exports

NameKindWhat it is
bandOffunctionRead the easy, medium or hard third of a numbered level collection.
findMazeLevelsfunctionThe levels of a kind that pass a filter, with their numbers: by shape, by way to play and by size, each when given.
levelCountfunctionHow many levels a kind has.
levelOffunctionLevel number n (from 1) of a kind, or null when there is none.
levelsOffunctionEvery level of a kind.
mazeLevelOfSizefunctionLevel n (from 1) of a size, or null when there is none.
mazeLevelsOfSizefunctionThe levels of one size, in order: 256 of them, each a little harder than the one before.
MEIKYUU_ARROW_LEVELSconstantThe fixed numbered arrow recipes and their measured effort.
MEIKYUU_KINDSconstantTHE LEVELS: numbered lists of recipes, easiest first, never drawings.
MEIKYUU_LEVELS_PER_SIZEconstantHow many levels each size has: 256, so a size is sixteen pages of sixteen, and the four sizes make 1,024.
MEIKYUU_MAZE_LEVELSconstantThe fixed numbered flat-maze recipes and their measured difficulty metadata.
MEIKYUU_MIXED_LEVELSconstantThe fixed numbered mixed-board recipes and their measured effort.
MEIKYUU_SIZESconstantThe four sizes of the maze list.
MeikyuuArrowLeveltypeA numbered arrow-puzzle recipe and its native difficulty metadata.
MeikyuuBandtypeWhich third of a size's list a level is in: the easy, medium and hard a site files it under.
MeikyuuKindtypeThe flat maze, arrow or mixed puzzle family.
MeikyuuLeveltypeOne native numbered maze, arrow or mixed level.
MeikyuuMazeLeveltypeA numbered flat-maze recipe, difficulty measures, cell count and place within its size.
MeikyuuMixedLeveltypeA numbered mixed-puzzle recipe and its native difficulty metadata.
MeikyuuSizetypeThe small, medium, large or huge numbered flat-maze collection.
sizeOffunctionHow big a maze is, in words a person picks by: under 150 cells is small, under 800 medium, under 4,000 large, and the rest huge.

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