本文へ移動

Meikyuu迷宮

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

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

目次

リファレンス

立体の形ごとの問題

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

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

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

エクスポート

名前種類概要
findSolidLevels関数All surface levels in this entry matching the optional kind and size filters.
MEIKYUU_SOLID_LEVELS定数Every list this entry has: a solid, then a size.
MEIKYUU_SOLID_PER_LIST定数How many levels each size of each solid has: eight pages of eight.
MeikyuuSolidLevel型A 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_CUTS定数How many ways each solid is cut, for each size: small, medium, large, huge and colossal.
SOLID_KINDS定数THE SURFACE OF A SOLID AS A CELL GRAPH: the one thing a maze over a solid is made on.
SOLID_MORE_SHAPES定数The additional box, cross, ring, torus, star and heart surface families.
SOLID_SIZE_NAMES定数THE 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.
solidCellsOf関数How many cells a solid has at a size.
solidCutOf関数The cut of a solid at a size.
SolidKind型A supported polyhedron, die or shaped surface for a maze.
solidLevelOf関数The one-based surface level, or null when this entry has no such kind, size or number.
solidLevelsOf関数The native surface-level collection for this kind and size; empty when this entry has none.
SolidSize型A named small, medium, large, huge or colossal surface-maze collection.

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

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