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 · Browser table and SVG

tenkaStringsfunction

The table of strings for a locale with a page's own words laid over it. An unknown locale is English.

Import it

import { tenkaStrings } from "@johnmorrisdotca/tenka/ui";

Also exported from: @johnmorrisdotca/tenka

Definition

function tenkaStrings(locale: TenkaLocale | string | undefined, own?: Partial<TenkaStrings>): TenkaStrings

Parameters

NameTypeDescription
localestring | undefined

The requested language tag.

own (optional)Partial<TenkaStrings>

Optional overrides for the built-in words.

Returns

TenkaStrings

The table of strings for a locale with a page's own words laid over it. An unknown locale is English.

Examples

import { tenkaStrings } from "@johnmorrisdotca/tenka/ui";

console.log(tenkaStrings("ja").newGame);
新しいゲーム

What it prints (run when this page was built)

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