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

tenkaContinentfunction

A continent of a map by its key.

Import it

import { tenkaContinent } from "@johnmorrisdotca/tenka";

Definition

function tenkaContinent(key: TenkaContinentKey, map?: TenkaMap): TenkaContinent

Parameters

NameTypeDescription
keyTenkaContinentKey

The continent identifier, or null to show the whole map.

map (optional)TenkaMap

The native world or Europe map to use.

Returns

TenkaContinent

A continent of a map by its key.

Examples

import { tenkaContinent } from "@johnmorrisdotca/tenka";

console.log(tenkaContinent("europe").bonus);
5

What it prints (run when this page was built)

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