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 · SVG board

tsunagiSayfunction

A line in a language, with its values filled in; the line itself if there is none by that name.

Import it

import { tsunagiSay } from "@johnmorrisdotca/tsunagi/draw";

Definition

function tsunagiSay(language: TsunagiLanguage, key: string, values?: Record<string, string | number>): string

Parameters

NameTypeDescription
languageTsunagiLanguage

The English or Japanese display language.

keystring

The localized word identifier.

values (optional)Record<string, string | number>

Replacement text or numbers keyed by braces.

Returns

string

A line in a language, with its values filled in; the line itself if there is none by that name.

Examples

import { tsunagiSay } from "@johnmorrisdotca/tsunagi/draw";

console.log(tsunagiSay("en","undo"));
Undo

What it prints (run when this page was built)

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