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

tsunagiBoardLookfunction

A board as asked: a ready-made one by name, or a look of your own.

Import it

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

Definition

function tsunagiBoardLook(board: TsunagiBoardName | TsunagiBoardLook | undefined): TsunagiBoardLook

Parameters

NameTypeDescription
board"paper" | "wood" | "green" | "blue" | "red" | "black" | TsunagiBoardLook | undefined

The named board appearance or host-defined colours.

Returns

TsunagiBoardLook

A board as asked: a ready-made one by name, or a look of your own.

Examples

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

console.log(tsunagiBoardLook("paper").paper);
#fbf8f1

What it prints (run when this page was built)

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