本文へ移動

Tsunagi繋ぎ

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

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

目次

リファレンス

難しさと学習の目印

import { … } from "@johnmorrisdotca/tsunagi/marks";

最小化と gzip 圧縮をしたサイズは 1.2 kB(読み込むものをすべて含み、esbuild で計測)

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

EVERY TSUNAGI LEVEL'S DIFFICULTY, 1 TO 5: one digit a level, level 1 first, from its measured score (difficulty.ts) among every level of its size — the marks the row under a board shows. And each twist level's part in its block's lesson (twistRole), so the board of levels and the row can say it without loading a size's boards. The portal levels' marks are the same, a size's among its own levels. Written by node scripts/tsunagi-levels.ts, tsunagi-levels-big.ts, tsunagi-levels-huge.ts and tsunagi-levels-portals.ts, never by hand; difficulty.test.ts and ladder.test.ts hold both to the levels.

エクスポート

名前種類概要
TSUNAGI_MARKS定数The native difficulty digits for each classic size, one digit per level in level order.
TSUNAGI_PORTAL_MARKS定数The native difficulty digits for portal levels, one digit per level in level order.
TSUNAGI_ROLES定数The teaching or testing role of classic twist levels, keyed by size and one-based level number.

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

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