本文へ移動

Tsunagi繋ぎ

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

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

目次

リファレンス · ルール・解法・生成

PAIR_LETTERS定数

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

The characters a pair may be named by, in order: the capital letters, the digits, the small letters, then twenty punctuation marks, eighty-two in all, enough for a 30×30 board with as many lines to the cell as a 15×15 has. A layout written when the list was shorter (A to P) is still the same string.

A small letter is two things in a layout: a waypoint of the capital it is the lower case of, or, on a board that uses every capital and digit, one of the pairs after them. The board says which by what it uses (stoneLetters): a board of thirty-six pairs or more has no waypoints.

インポート

import { PAIR_LETTERS } from "@johnmorrisdotca/tsunagi";

定義

const PAIR_LETTERS: "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz!@$%*()[]{},:;=?^_~/" = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz!@$%*()[]{},:;=?^_~/"

例

import { PAIR_LETTERS } from "@johnmorrisdotca/tsunagi";
console.log(PAIR_LETTERS);
ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz!@$%*()[]{},:;=?^_~/

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

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

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