HeadStartTurns型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The most free turns a game offers as a head start: 0 where it offers none.
Declared per game and measured, never inferred — see headStartTurns on the
spec and simulation.headStartDecides.ts.
インポート
import type { HeadStartTurns } from "@johnmorrisdotca/narabe";
定義
type HeadStartTurns = 0 | 1 | 2 | 3;
例
import type { HeadStartTurns } from "@johnmorrisdotca/narabe";
const value: HeadStartTurns = 2;
console.log(value);2出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。