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

Tsunagi documentation

Tsunagi 繋ぎ — Connect-the-pairs line puzzle

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

Install

npm install @johnmorrisdotca/tsunagi

Start here

Entry points

Import itWhat it isSize
@johnmorrisdotca/tsunagi/draw
SVG board · 47 exports
Tsunagi's drawing: a board as SVG text, with its colour sets, its boards, the style that gives the drawing its look, and where everything sits in it (so a page can tell which cell a finger is over).13.7 kB
@johnmorrisdotca/tsunagi/play
Playable board · 16 exports
Tsunagi, played in a page: mountTsunagi draws a level into any element and plays it by touch and mouse, with Undo, Restart, Check and Cheat, the zoom pad for big boards, and the words in English and Japanese.24.7 kB
@johnmorrisdotca/tsunagi/element
Board element · 4 exports
251.5 kB
@johnmorrisdotca/tsunagi/element/define
Register the board · 4 exports
Defines the <tsunagi-board> element on the page.251.5 kB
@johnmorrisdotca/tsunagi/levels
Load level collections · 20 exports
223.7 kB
@johnmorrisdotca/tsunagi/levels-4
4 × 4 levels · 1 exports
2.1 kB
@johnmorrisdotca/tsunagi/levels-5
5 × 5 levels · 1 exports
4.3 kB
@johnmorrisdotca/tsunagi/levels-6
6 × 6 levels · 1 exports
6.0 kB
@johnmorrisdotca/tsunagi/levels-7
7 × 7 levels · 1 exports
8.3 kB
@johnmorrisdotca/tsunagi/levels-8
8 × 8 levels · 1 exports
11.0 kB
@johnmorrisdotca/tsunagi/levels-9
9 × 9 levels · 1 exports
14.2 kB
@johnmorrisdotca/tsunagi/levels-10
10 × 10 levels · 1 exports
8.6 kB
@johnmorrisdotca/tsunagi/levels-11
11 × 11 levels · 1 exports
5.1 kB
@johnmorrisdotca/tsunagi/levels-12
12 × 12 levels · 1 exports
13.3 kB
@johnmorrisdotca/tsunagi/levels-13
13 × 13 levels · 1 exports
13.3 kB
@johnmorrisdotca/tsunagi/levels-14
14 × 14 levels · 1 exports
14.4 kB
@johnmorrisdotca/tsunagi/levels-15
15 × 15 levels · 1 exports
15.2 kB
@johnmorrisdotca/tsunagi/levels-20
20 × 20 levels · 1 exports
19.0 kB
@johnmorrisdotca/tsunagi/levels-25
25 × 25 levels · 1 exports
31.9 kB
@johnmorrisdotca/tsunagi/levels-30
30 × 30 levels · 1 exports
40.0 kB
@johnmorrisdotca/tsunagi/layouts
Boards without answers · 2 exports
82.6 kB
@johnmorrisdotca/tsunagi/levels-portals
Portal levels · 1 exports
16.3 kB
@johnmorrisdotca/tsunagi/marks
Difficulty and lesson marks · 3 exports
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.1.2 kB
@johnmorrisdotca/tsunagi/renumbered
Level-number migration · 2 exports
1.0 kB
@johnmorrisdotca/tsunagi
Rules, solvers and generation · 167 exports
Tsunagi: join each pair of marbles with a line, every line its own, filling the board.22.4 kB

Guides

How-to

Explanation

Troubleshooting & FAQ

Upgrading