SUIDO_BIG_SIZES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
WHAT IS KNOWN OF EVERY BIG-PIECES LEVEL WITHOUT ITS BOARD: the size of its board, how hard it is across the whole set (1 to 100,
bigDifficulty.ts), the twists it has and how many big pieces it has among its ordinary ones, in level order, so a page lists the set
and a server names a level's size without loading sixty-four boards. Written by node scripts/suido-big-levels.ts, never by hand;
bigLevels.test.ts holds all four to the levels.
インポート
import { SUIDO_BIG_SIZES } from "@johnmorrisdotca/suido/levels";
ほかのエクスポート元: @johnmorrisdotca/suido/levels-info
定義
const SUIDO_BIG_SIZES: readonly string[] = ["5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x5", "5x7", "6x6", "6x6", "6x6", "7x7", "7x7", "7x7", "8x8", "8x8", "9x9", "9x9", "9x9", "10x10", "10x10", "10x10", "11x11", "11x11", "12x12", "12x12", "14x14", "13x13", "14x14", "14x14", "13x13", "14x14", "14x14", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20", "20x20"]
例
import { SUIDO_BIG_SIZES } from "@johnmorrisdotca/suido/levels-info";
console.log(Object.keys(SUIDO_BIG_SIZES));[
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', '10', '11', '12', '13', '14', '15',
'16', '17', '18', '19', '20', '21', '22', '23',
'24', '25', '26', '27', '28', '29', '30', '31',
'32', '33', '34', '35', '36', '37', '38', '39',
'40', '41', '42', '43', '44', '45', '46', '47',
'48', '49', '50', '51', '52', '53', '54', '55',
'56', '57', '58', '59', '60', '61', '62', '63'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。