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

TenkaBackHowtype

What a dressing is told about the back it is asked to draw.

Import it

import type { TenkaBackHow } from "@johnmorrisdotca/tenka/ui";

Also exported from: @johnmorrisdotca/tenka/dressing

Definition

type TenkaBackHow = {
    label: string;
    locale: TenkaLocale;
};

Members

NameTypeDescription
labelstring

What a screen reader says: the deck and how many cards are left in it.

localeTenkaLocale

The table's language.

Examples

import type { TenkaBackHow } from "@johnmorrisdotca/tenka/ui";

const value: TenkaBackHow = {label:"Card back",locale:"en"};
console.log(value);
{ label: 'Card back', locale: 'en' }

What it prints (run when this page was built)

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