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 · Rules, solvers and generation

tailWordfunction

Which of the tail's words a segment is, and what it says; null for none of them (the walls list).

Import it

import { tailWord } from "@johnmorrisdotca/tsunagi";

Definition

function tailWord(segment: string): { word: (typeof TAIL_ORDER)[number]; every?: number; blast?: boolean; list?: string; } | null

Parameters

NameTypeDescription
segmentstring

One native layout-code suffix segment.

Returns

{ word: (typeof TAIL_ORDER)[number]; every?: number; blast?: boolean; list?: string; } | null

Which of the tail's words a segment is, and what it says; null for none of them (the walls list).

Examples

import { tailWord } from "@johnmorrisdotca/tsunagi";

console.log(tailWord("strokes5"));
{ word: 'strokes', every: 5 }

What it prints (run when this page was built)

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