本文へ移動

Tsunagi繋ぎ

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

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

目次

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

Reach型

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

HOW FAR A FINGER IS FROM THE END OF THE LINE IT DRAWS, in rows and columns, once that line has been through a portal. The line comes out of a portal far from the finger that went into the other, so a finger over a cell draws toward that cell moved by the reach: it starts at none and is set again each time the line goes through a portal or back over one, so that the finger is over the line's end from then on, and moving it a cell moves the end a cell.

インポート

import type { Reach } from "@johnmorrisdotca/tsunagi";

定義

type Reach = {
    dr: number;
    dc: number;
};

メンバー

名前型説明
drnumber
dcnumber

例

import type { Reach } from "@johnmorrisdotca/tsunagi";

const value: Reach = {dr:0,dc:1};
console.log(value);
{ dr: 0, dc: 1 }

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

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

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