Skip to the content

Houseki宝石

Run five native gem and stone engines, play measured challenges and lessons, and save deterministic games.

Houseki (宝石) is Japanese for a gem or precious stone. About the name

Contents

Reference · Tsumiki

CreateOptionstype

The options a free game or a Daily is made from.

Import it

import type { CreateOptions } from "@johnmorrisdotca/houseki/tsumiki";

Definition

interface CreateOptions {
    readonly mode?: "relaxed" | "daily";
    readonly seed?: string;
    readonly dailyDate?: string;
}

Members

NameTypeDescription
mode (optional)"relaxed" | "daily" | undefined
seed (optional)string | undefined
dailyDate (optional)string | undefined

Examples

import type { CreateOptions } from "@johnmorrisdotca/houseki/tsumiki";

const value: CreateOptions = { seed: "demo" };
console.log(value.seed);
demo

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/houseki 0.5.0.