リファレンス
標準の問題一覧
import { … } from "@johnmorrisdotca/karakuri/levels";
最小化と gzip 圧縮をしたサイズは 4.4 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
GRID_ESCAPE_LEVELS | 定数 | The levels, from easy to hard by their fewest moves. |
GridEscapeLevel | 型 | One level: its board and its proved fewest moves. |
gridPuzzleOf | 関数 | The board of a level, read. |
NUTS_AND_BOLTS_LEVELS | 定数 | The levels, with more plates and more screws each time. |
PIN_RESCUE_LEVELS | 定数 | The levels, each with more pins to choose between and more ways to lose. |
PinRescueEntry | 型 | A level, the pins that win it in order (by index in pins), and pins that lose it in order. |
ROPE_CUT_LEVELS | 定数 | The levels. |
RopeCutEntry | 型 | A level and the cuts that win it, in order: the step to cut at, which rope, which link of it. |
SAVE_THE_CHARACTER_LEVELS | 定数 | The levels. |
SaveEntry | 型 | A level and the stroke that wins it (points, drawn in order) and a stroke that loses it. |
STORIES | 定数 | The stories, one to a level. |
STRETCH_GRABBER_LEVELS | 定数 | The levels. |
StretchGrabberEntry | 型 | A level, the waypoints of one way to win it, and of one way to lose it. |
TUBE_SORT_LEVELS | 定数 | The levels, each with more colours and more tubes than the one before. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。