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

TenkaChoicetype

A choice made on the map and not yet a move: where from, where to, and how many armies (tapTerritory).

Import it

import type { TenkaChoice } from "@johnmorrisdotca/tenka";

Definition

type TenkaChoice = {
    from: number | null;
    to: number | null;
    armies: number;
    placedOn: number | null;
};

Members

NameTypeDescription
fromnumber | null
tonumber | null
armiesnumber

How many armies move, when there is a number to choose.

placedOnnumber | null

The last territory a reinforcing army was placed on, for "all the rest here".

Examples

import type { TenkaChoice } from "@johnmorrisdotca/tenka";

const choice = {from:null,to:null,armies:1,placedOn:null};
const value: TenkaChoice = choice;
console.log(value);
{ from: null, to: null, armies: 1, placedOn: null }

What it prints (run when this page was built)

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