Skip to the content

Karakuriからくり

Play eight native puzzles, run bounded searches, step deterministic physics and mount a canvas player controlled by pointer or keyboard.

Karakuri is the Japanese word からくり for a mechanism or ingenious device. About the name

Contents

Reference

Native level collections

import { … } from "@johnmorrisdotca/karakuri/levels";

4.4 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
GRID_ESCAPE_LEVELSconstantThe levels, from easy to hard by their fewest moves.
GridEscapeLeveltypeOne level: its board and its proved fewest moves.
gridPuzzleOffunctionThe board of a level, read.
NUTS_AND_BOLTS_LEVELSconstantThe levels, with more plates and more screws each time.
PIN_RESCUE_LEVELSconstantThe levels, each with more pins to choose between and more ways to lose.
PinRescueEntrytypeA level, the pins that win it in order (by index in pins), and pins that lose it in order.
ROPE_CUT_LEVELSconstantThe levels.
RopeCutEntrytypeA level and the cuts that win it, in order: the step to cut at, which rope, which link of it.
SAVE_THE_CHARACTER_LEVELSconstantThe levels.
SaveEntrytypeA level and the stroke that wins it (points, drawn in order) and a stroke that loses it.
STORIESconstantThe stories, one to a level.
STRETCH_GRABBER_LEVELSconstantThe levels.
StretchGrabberEntrytypeA level, the waypoints of one way to win it, and of one way to lose it.
TUBE_SORT_LEVELSconstantThe levels, each with more colours and more tubes than the one before.

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/karakuri 0.2.1.