本文へ移動

Tsunagi繋ぎ

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

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

目次

リファレンス · 盤の要素

TSUNAGI_EMBED_OPTION_KEYS定数

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

Every mounted-board option, kept complete by TypeScript and checked by the builder.

インポート

import { TSUNAGI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tsunagi/element";

ほかのエクスポート元: @johnmorrisdotca/tsunagi/element/define

定義

const TSUNAGI_EMBED_OPTION_KEYS: string[] = Object.keys({ size: true, givens: true, answer: true, level: true, set: true, lines: true, explosions: true, cheats: true, controls: true, chips: true, zoom: true, language: true, marks: true, fill: true, colours: true, board: true, coordinates: true, onChange: true, onStroke: true, onExplosion: true, onSolve: true } satisfies Record<keyof TsunagiMountOptions, boolean>)

例

import { TSUNAGI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tsunagi/element";
console.log(typeof TSUNAGI_EMBED_OPTION_KEYS); // object
object

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

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

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