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

Randomtype

A number in [0, 1), like Math.random, from a stream a seed fixes.

Import it

import type { Random } from "@johnmorrisdotca/tsunagi";

Definition

type Random = () => number;

Examples

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

const value: Random = seededRandom(42);
console.log(value);
[Function (anonymous)]

What it prints (run when this page was built)

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