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 · Load level collections

setOfSeedfunction

The set and the number in it a record's number names.

Import it

import { setOfSeed } from "@johnmorrisdotca/tsunagi/levels";

Also exported from: @johnmorrisdotca/tsunagi

Definition

function setOfSeed(seed: number): { set: TsunagiSet; level: number; }

Parameters

NameTypeDescription
seednumber

The numeric seed for reproducible draws or native level identifiers.

Returns

{ set: TsunagiSet; level: number; }

The set and the number in it a record's number names.

Examples

import { levelSeed, setOfSeed } from "@johnmorrisdotca/tsunagi/levels";

console.log(setOfSeed(levelSeed("portals",1)));
{ set: 'portals', level: 1 }

What it prints (run when this page was built)

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