tenkaDeckFor関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Every card of a game on this map: a card for each territory, numbered as the territories are, then the wild cards.
インポート
import { tenkaDeckFor } from "@johnmorrisdotca/tenka";
定義
function tenkaDeckFor(map?: TenkaMap): TenkaCard[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
map (省略可) | TenkaMap | The native world or Europe map to use. |
戻り値
number[]
Every card of a game on this map: a card for each territory, numbered as the territories are, then the wild cards.
例
import { TENKA_MAPS, tenkaDeckFor } from "@johnmorrisdotca/tenka";
console.log(tenkaDeckFor(TENKA_MAPS.europe).length);51出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。