TenkaPhase型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Where a turn is. setUp is the placing of the starting armies by hand,
one each round the table; reinforce the placing of a turn's new armies
(and trading cards for more); attack rolling against a neighbour;
occupy choosing how many move into a territory just taken; fortify
choosing one move between two of your own connected territories, and
shift how many armies it moves; over the end.
インポート
import type { TenkaPhase } from "@johnmorrisdotca/tenka";
定義
type TenkaPhase = "setUp" | "reinforce" | "attack" | "occupy" | "fortify" | "shift" | "over";
例
import type { TenkaPhase } from "@johnmorrisdotca/tenka";
const value: TenkaPhase = "reinforce";
console.log(value);reinforce出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。