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

TSUNAGI_SIZESconstant

TSUNAGI'S LEVELS, COUNTED: which sizes there are, how many levels each has, and which of them a player has opened. The levels themselves are data, each size its own import (@johnmorrisdotca/tsunagi/levels-7, or every size through @johnmorrisdotca/tsunagi/levels), so nothing here carries a board.

A level is not made from a seed: level 12 at 7×7 is one board for every player on every day, so a time on it can be compared with anybody's.

Import it

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

Also exported from: @johnmorrisdotca/tsunagi

Definition

const TSUNAGI_SIZES: readonly [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 25, 30] = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 25, 30] as const

Examples

import { TSUNAGI_SIZES } from "@johnmorrisdotca/tsunagi/levels";
console.log(TSUNAGI_SIZES);
[
   4,  5,  6,  7,  8,  9,
  10, 11, 12, 13, 14, 15,
  20, 25, 30
]

What it prints (run when this page was built)

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