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

blockOffunction

The block a level is in, from 1.

Import it

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

Definition

function blockOf(level: number): number

Parameters

NameTypeDescription
levelnumber

The one-based level number.

Returns

number

The block a level is in, from 1.

Examples

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

console.log(blockOf(17));
2

What it prints (run when this page was built)

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