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 · Card sounds

CARD_SOUND_KINDSconstant

Every kind of sound, in the order a game meets them.

Import it

import { CARD_SOUND_KINDS } from "@johnmorrisdotca/hitotsu/card-sounds";

Definition

const CARD_SOUND_KINDS: readonly ["shuffle", "deal", "flip", "play"] = ["shuffle", "deal", "flip", "play"] as const

Examples

import { CARD_SOUND_KINDS } from "@johnmorrisdotca/hitotsu/card-sounds";
console.log(CARD_SOUND_KINDS);
[ 'shuffle', 'deal', 'flip', 'play' ]

What it prints (run when this page was built)

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