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

seededRandomfunction

A stream of numbers in [0, 1) fixed by a seed.

Import it

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

Definition

function seededRandom(seed: number): Random

Parameters

NameTypeDescription
seednumber

The numeric seed for reproducible draws or native level identifiers.

Returns

Random

A stream of numbers in [0, 1) fixed by a seed.

Examples

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

console.log(seededRandom(42)());
0.6011037519201636

What it prints (run when this page was built)

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