本文へ移動

Karakuriからくり

8つの標準のパズルで遊び、探索や再現できる物理を使い、ポインターやキーボードで操作する盤を表示できます。

「からくり」は、仕組みや工夫した装置を表す言葉です。 名前について(英語)

目次

リファレンス

標準の問題一覧

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.

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

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