SUIDO_SIZES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The square sizes, 5×5 to 14×14, then three pipe shapes (long boards, 5×7, 6×10 and 8×14), then the huge boards: 20×20, 28×28 and the long 20×50, which have sixty-four levels each, not two hundred and fifty-six.
インポート
import { SUIDO_SIZES } from "@johnmorrisdotca/suido/levels";
ほかのエクスポート元: @johnmorrisdotca/suido/levels-info
定義
const SUIDO_SIZES: readonly `${number}x${number}`[] = [
"5x5",
"6x6",
"7x7",
"8x8",
"9x9",
"10x10",
"11x11",
"12x12",
"13x13",
"14x14",
"5x7",
"6x10",
"8x14",
"20x20",
"28x28",
"20x50",
]
例
import { SUIDO_SIZES } from "@johnmorrisdotca/suido/levels";
console.log(SUIDO_SIZES);[
'5x5', '6x6', '7x7',
'8x8', '9x9', '10x10',
'11x11', '12x12', '13x13',
'14x14', '5x7', '6x10',
'8x14', '20x20', '28x28',
'20x50'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。