Reference · Rules, maps and records
NO_CHOICEconstant
Nothing chosen: where a turn, and a table, start.
Import it
import { NO_CHOICE } from "@johnmorrisdotca/tenka";
Definition
const NO_CHOICE: TenkaChoice = { from: null, to: null, armies: 0, placedOn: null }
Members
| Name | Type | Description |
|---|---|---|
from | number | null | |
to | number | null | |
armies | number | How many armies move, when there is a number to choose. |
placedOn | number | null | The last territory a reinforcing army was placed on, for "all the rest here". |
Examples
import { NO_CHOICE } from "@johnmorrisdotca/tenka";
console.log(NO_CHOICE);{ from: null, to: null, armies: 0, placedOn: null }What it prints (run when this page was built)