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 · Dice and card dressing

tenkaDressingfunction

Tenka's dice and cards, drawn by the packages that draw them best: give the result to mountTenka, to the React TenkaTable, or to a <tenka-table>'s dressing.

Import it

import { tenkaDressing } from "@johnmorrisdotca/tenka/dressing";

Definition

function tenkaDressing(options?: TenkaDressingOptions): TenkaDressing

Parameters

NameTypeDescription
options (optional)TenkaDressingOptions

The component, table or display options.

Returns

TenkaDressing

Tenka's dice and cards, drawn by the packages that draw them best: give the result to mountTenka, to the React TenkaTable, or to a <tenka-table>'s dressing.

Examples

import { tenkaDressing } from "@johnmorrisdotca/tenka/dressing";

console.log(Object.keys(tenkaDressing({sound:false})));
[ 'die', 'card', 'back' ]

What it prints (run when this page was built)

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