本文へ移動

Tsunagi繋ぎ

同じ印の2つを別々の線で結び、盤を埋めます。収録された問題やシード付きの問題で遊べます。

「つなぎ」は、物をつなぐことを表す言葉です。 名前について(英語)

目次

リファレンス · ポータルの問題

TSUNAGI_PORTAL_LEVELS定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

TSUNAGI WITH PORTALS: thirty-two levels a size, in two blocks of 16, easiest first by the measured difficulty (difficulty.ts) within each block. The first block's boards have one portal, the second's two or three. Each level is its layout and its one answer.

WRITTEN BY node scripts/tsunagi-levels-portals.ts, NEVER BY HAND, from the pools node scripts/tsunagi-reduce-pool.ts makes. Every level is proved to have exactly one answer by portalLevels.test.ts, and no two are the same board under a turn or a mirror.

インポート

import { TSUNAGI_PORTAL_LEVELS } from "@johnmorrisdotca/tsunagi/levels-portals";

定義

const TSUNAGI_PORTAL_LEVELS: Readonly<Record<number, readonly (readonly [string, string])[]>>

例

import { TSUNAGI_PORTAL_LEVELS } from "@johnmorrisdotca/tsunagi/levels-portals";
console.log(Object.keys(TSUNAGI_PORTAL_LEVELS));
[
  '5',  '6',  '7',
  '8',  '9',  '10',
  '12', '15'
]

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/tsunagi 1.7.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。