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

strongestTsunagiHelpfunction

Of several helps, the one a solve is kept with: explosions off, then Cheat, then explosions softened.

Import it

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

Definition

function strongestTsunagiHelp(helps: readonly (TsunagiHelp | null)[]): TsunagiHelp | null

Parameters

NameTypeDescription
helpsreadonly (TsunagiHelp | null)[]

Assistance flags from the solves to combine.

Returns

TsunagiHelp | null

The most significant assistance flag, or null when all solves were unassisted.

Examples

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

console.log(strongestTsunagiHelp([null,"cheated","explosions-off"]));
explosions-off

What it prints (run when this page was built)

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