Skip to the content

Hitotsu一つ

Match the colour or number, call with one card left, and play classic or party rules against computers or at a shared table.

Hitotsu is Japanese for one: the call with one card left. About the name

Contents

Reference · Table element

HITOTSU_EMBED_OPTION_KEYSconstant

Native option keys checked by the builder.

Import it

import { HITOTSU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/hitotsu/element";

Also exported from: @johnmorrisdotca/hitotsu/element/define, @johnmorrisdotca/hitotsu/element-define

Definition

const HITOTSU_EMBED_OPTION_KEYS: string[] = Object.keys({ players: true, computers: true, rules: true, size: true, seed: true, language: true, strings: true, computerMs: true, theme: true, sound: true, onMove: true } satisfies Record<keyof HitotsuTableOptions, boolean>)

Examples

import { HITOTSU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/hitotsu/element";
console.log(HITOTSU_EMBED_OPTION_KEYS.includes("players"));
true

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hitotsu 1.4.0.