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

CardSoundKindtype

One kind of sound: deal a card sent to a hand, flip a card turned over, play a card laid on the table, shuffle the deck shuffled.

Import it

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

Definition

type CardSoundKind = (typeof CARD_SOUND_KINDS)[number];

Examples

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


const value: CardSoundKind = "play";
console.log(value);
play

What it prints (run when this page was built)

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