Skip to the content

Tenka天下

Play seeded world conquest for two to six, with dice battles, cards, computer players and saved games.

Tenka means the world under heaven in Japanese. About the name

Contents

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)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/tenka 2.2.0.