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 · Table element

TENKA_EMBED_OPTION_KEYSconstant

Native options, checked by shared builder coverage.

Import it

import { TENKA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tenka/element";

Also exported from: @johnmorrisdotca/tenka/element/define

Definition

const TENKA_EMBED_OPTION_KEYS: string[] = Object.keys({ players: true, computers: true, rounds: true, seed: true, map: true, colours: true, computerDelayMs: true, onChange: true, locale: true, strings: true, theme: true, record: true, dressing: true } satisfies Record<keyof TenkaTableOptions, boolean>)

Examples

import { TENKA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tenka/element";
console.log(TENKA_EMBED_OPTION_KEYS.includes("dressing"));
true

What it prints (run when this page was built)

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