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

sparseMostfunction

The most lines a sparse board of this side has: two thirds of the side — six on a 9×9, where nine is usual.

Import it

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

Definition

function sparseMost(size: number): number

Parameters

NameTypeDescription
sizenumber

The number of cells on each side of the board.

Returns

number

The most lines a sparse board of this side has: two thirds of the side — six on a 9×9, where nine is usual.

Examples

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

console.log(sparseMost(9));
6

What it prints (run when this page was built)

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