本文へ移動

Meikyuu迷宮

シード付きの迷路と矢印パズルを作り、番号付きの問題を進め、平面や立体表面で遊べます。

「迷宮」は迷路のように入り組んだ場所を表す言葉です。 名前について(英語)

目次

リファレンス

番号付きの問題

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

最小化と gzip 圧縮をしたサイズは 20.6 kB(読み込むものをすべて含み、esbuild で計測)

リファレンスの説明と例は英語です。見出しと目次は日本語です。

エクスポート

名前種類概要
bandOf関数Read the easy, medium or hard third of a numbered level collection.
findMazeLevels関数The levels of a kind that pass a filter, with their numbers: by shape, by way to play and by size, each when given.
levelCount関数How many levels a kind has.
levelOf関数Level number n (from 1) of a kind, or null when there is none.
levelsOf関数Every level of a kind.
mazeLevelOfSize関数Level n (from 1) of a size, or null when there is none.
mazeLevelsOfSize関数The levels of one size, in order: 256 of them, each a little harder than the one before.
MEIKYUU_ARROW_LEVELS定数The fixed numbered arrow recipes and their measured effort.
MEIKYUU_KINDS定数THE LEVELS: numbered lists of recipes, easiest first, never drawings.
MEIKYUU_LEVELS_PER_SIZE定数How many levels each size has: 256, so a size is sixteen pages of sixteen, and the four sizes make 1,024.
MEIKYUU_MAZE_LEVELS定数The fixed numbered flat-maze recipes and their measured difficulty metadata.
MEIKYUU_MIXED_LEVELS定数The fixed numbered mixed-board recipes and their measured effort.
MEIKYUU_SIZES定数The four sizes of the maze list.
MeikyuuArrowLevel型A numbered arrow-puzzle recipe and its native difficulty metadata.
MeikyuuBand型Which third of a size's list a level is in: the easy, medium and hard a site files it under.
MeikyuuKind型The flat maze, arrow or mixed puzzle family.
MeikyuuLevel型One native numbered maze, arrow or mixed level.
MeikyuuMazeLevel型A numbered flat-maze recipe, difficulty measures, cell count and place within its size.
MeikyuuMixedLevel型A numbered mixed-puzzle recipe and its native difficulty metadata.
MeikyuuSize型The small, medium, large or huge numbered flat-maze collection.
sizeOf関数How 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.

ソースを見るGitHub で編集@johnmorrisdotca/meikyuu 3.2.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。