本文へ移動

Tsunagi繋ぎ

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

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

目次

リファレンス · 12 × 12の問題

TSUNAGI_12定数

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

TSUNAGI AT 12×12: 128 levels in blocks of 16, easiest first by the measured difficulty (difficulty.ts), each block's 15th and 16th its twist where one could be placed.

WRITTEN BY node scripts/tsunagi-levels.ts, NEVER BY HAND. Each line is one level: its layout (a letter for each pair's two stones, . for an empty cell) and its one answer (the letter of the line through every cell). Every level is proved to have exactly one answer by levels.test.ts, no two are the same board under a turn or a mirror, and difficulty.test.ts holds the order to the measure.

インポート

import { TSUNAGI_12 } from "@johnmorrisdotca/tsunagi/levels-12";

定義

const TSUNAGI_12: readonly (readonly [string, string])[]

例

import { TSUNAGI_12 } from "@johnmorrisdotca/tsunagi/levels-12";
console.log(TSUNAGI_12.length, TSUNAGI_12[0][0]);
128 AB.CD....E.....F..............C.G...........F....G....B.....AH......IJ..KL.L..............M.I....H......J....NON..M..P........P......KO..D..E...

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

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

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