TSUNAGI_9定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
TSUNAGI AT 9×9: 256 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_9 } from "@johnmorrisdotca/tsunagi/levels-9";
定義
const TSUNAGI_9: readonly (readonly [string, string])[]
例
import { TSUNAGI_9 } from "@johnmorrisdotca/tsunagi/levels-9";
console.log(TSUNAGI_9.length, TSUNAGI_9[0][0]);256 A...AB..BC........D........EFG.G.FD........E........C.H........I........J.....JIH出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。