本文へ移動

Meikyuu迷宮

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

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

目次

リファレンス

縦長の迷路

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

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

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

エクスポート

名前種類概要
findTallLevels関数The tall levels that pass a filter, by shape, way to play and size, each when given.
MEIKYUU_TALL_LEVELS定数The fixed numbered tall-maze recipes, dimensions and difficulty metadata.
MEIKYUU_TALL_PER_SIZE定数How many levels each tall size has.
MEIKYUU_TALL_SIZES定数The sizes: their number, how many cells across, and the squares' columns and rows ("6×9").
MeikyuuTallLevel型THE TALL LEVELS: portrait mazes for a phone held upright, 1,536 of them in six sizes of 256, each size in order of the score difficultyOf gives, so no level is easier than the one before inside its size.
TALL_RATIO定数The ratio of a tall container, width over height: two to three.
TALL_SHAPES定数The shapes that are made tall.
TALL_WIDTHS定数How many cells across each size of the tall levels is.
tallDimensions関数The columns and rows of a maze of shape for the size width (a square maze of that size is width by one and a half times that): as near 2:3 as its cells allow, and with about as many cells as that square maze has (width times one and a half width), so that the sizes are as big to draw whatever the shape is.
tallLevelOf関数Tall level n (from 1) of the whole list, or null when there is none.
tallLevelOfSize関数Level n (from 1) of a size, or null.
tallLevelsOfSize関数The levels of one size (1 to 6), in order.

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

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