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

TsunagiLooktype

What a board looks like: every option drawTsunagi takes that does not depend on the lines.

Import it

import type { TsunagiLook } from "@johnmorrisdotca/tsunagi/play";

Definition

type TsunagiLook = {
    marks?: TsunagiMarks;
    fill?: TsunagiFill;
    colours?: TsunagiColourSetName | readonly TsunagiColour[];
    board?: TsunagiBoardName | TsunagiBoardLook;
    coordinates?: boolean;
};

Members

NameTypeDescription
marks (optional)TsunagiMarks | undefined
fill (optional)TsunagiFill | undefined
colours (optional)"marble" | "bright" | "colour-blind" | "soft" | readonly TsunagiColour[] | undefined
board (optional)"paper" | "wood" | "green" | "blue" | "red" | "black" | TsunagiBoardLook | undefined
coordinates (optional)boolean | undefined

Examples

import type { TsunagiLook } from "@johnmorrisdotca/tsunagi/play";

const value: TsunagiLook = {marks:"numbers",fill:"lines",board:"paper"};
console.log(value);
{ marks: 'numbers', fill: 'lines', board: 'paper' }

What it prints (run when this page was built)

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