リファレンス
縦長の迷路
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. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。