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 · 20 × 20 levels

TSUNAGI_20constant

TSUNAGI AT 20×20: 64 levels in blocks of 16, easiest first by the measured difficulty (difficulty.ts), each block's 15th and 16th its twist.

WRITTEN BY node scripts/tsunagi-levels-huge.ts, NEVER BY HAND, from the pool node scripts/tsunagi-reduce-pool.ts makes. Each line is one level: its layout (a character for each pair's two stones, . for an empty cell) and its one answer (the character of the line through every cell). Every level is proved to have exactly one answer by levels.test.ts, no two are the same board under a turn or a mirror, and difficulty.test.ts holds the order to the measure.

Import it

import { TSUNAGI_20 } from "@johnmorrisdotca/tsunagi/levels-20";

Definition

const TSUNAGI_20: readonly (readonly [string, string])[]

Examples

import { TSUNAGI_20 } from "@johnmorrisdotca/tsunagi/levels-20";
console.log(TSUNAGI_20.length, TSUNAGI_20[0][0]);
64 .................ABC...............DEF.........................G..........HI..................J........K..................EL..................M...NO..........B....KNP.................Q..P....L...J.................G..R.............O...R........QST..............AD......T..H........UV.....S......W.W..............MI.........X.............VU....YX.Y..................................F.......Z.........ZC

What it prints (run when this page was built)

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