Skip to the content

Tsunagi繋ぎ

Join each pair with a separate line and fill the board, through fixed levels or seeded puzzles.

Tsunagi means joining in Japanese. About the name

Contents

Reference

Difficulty and lesson marks

import { … } from "@johnmorrisdotca/tsunagi/marks";

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

EVERY TSUNAGI LEVEL'S DIFFICULTY, 1 TO 5: one digit a level, level 1 first, from its measured score (difficulty.ts) among every level of its size — the marks the row under a board shows. And each twist level's part in its block's lesson (twistRole), so the board of levels and the row can say it without loading a size's boards. The portal levels' marks are the same, a size's among its own levels. Written by node scripts/tsunagi-levels.ts, tsunagi-levels-big.ts, tsunagi-levels-huge.ts and tsunagi-levels-portals.ts, never by hand; difficulty.test.ts and ladder.test.ts hold both to the levels.

Exports

NameKindWhat it is
TSUNAGI_MARKSconstantThe native difficulty digits for each classic size, one digit per level in level order.
TSUNAGI_PORTAL_MARKSconstantThe native difficulty digits for portal levels, one digit per level in level order.
TSUNAGI_ROLESconstantThe teaching or testing role of classic twist levels, keyed by size and one-based level number.

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/tsunagi 1.7.0.