TSUNAGI_PORTAL_LEVELS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
TSUNAGI WITH PORTALS: thirty-two levels a size, in two blocks of 16, easiest first by the
measured difficulty (difficulty.ts) within each block. The first block's boards have one
portal, the second's two or three. Each level is its layout and its one answer.
WRITTEN BY node scripts/tsunagi-levels-portals.ts, NEVER BY HAND, from the pools
node scripts/tsunagi-reduce-pool.ts makes. Every level is proved to have exactly one
answer by portalLevels.test.ts, and no two are the same board under a turn or a mirror.
インポート
import { TSUNAGI_PORTAL_LEVELS } from "@johnmorrisdotca/tsunagi/levels-portals";
定義
const TSUNAGI_PORTAL_LEVELS: Readonly<Record<number, readonly (readonly [string, string])[]>>
例
import { TSUNAGI_PORTAL_LEVELS } from "@johnmorrisdotca/tsunagi/levels-portals";
console.log(Object.keys(TSUNAGI_PORTAL_LEVELS));[
'5', '6', '7',
'8', '9', '10',
'12', '15'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。