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

tenkaDailySeedfunction

Today's seed, the date as a number: 2026-10-01 is 20261001. The day is UTC, so it is one seed worldwide.

Import it

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

Definition

function tenkaDailySeed(at: Date): number

Parameters

NameTypeDescription
atDate

The date whose UTC day selects the daily seed.

Returns

number

Today's seed, the date as a number: 2026-10-01 is 20261001. The day is UTC, so it is one seed worldwide.

Examples

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

console.log(tenkaDailySeed(new Date("2026-10-12T12:00:00Z")));
20261012

What it prints (run when this page was built)

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