Reference · Rules, maps and records
TENKA_CSV_COLUMNSconstant
The columns of the CSV export, in order.
Import it
import { TENKA_CSV_COLUMNS } from "@johnmorrisdotca/tenka";
Definition
const TENKA_CSV_COLUMNS: readonly string[] = ["move", "round", "seat", "player", "kind", "from", "to", "armies", "dice", "attack", "defend", "attackerLost", "defenderLost", "throws", "took", "cards", "out", "winners"]
Examples
import { TENKA_CSV_COLUMNS } from "@johnmorrisdotca/tenka";
console.log(TENKA_CSV_COLUMNS);[
'move', 'round',
'seat', 'player',
'kind', 'from',
'to', 'armies',
'dice', 'attack',
'defend', 'attackerLost',
'defenderLost', 'throws',
'took', 'cards',
'out', 'winners'
]What it prints (run when this page was built)