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 · Game engine and table

HitotsuModetype

Which deck and which kind of drawing a table plays with: the classic game, a deck of wilds only (all-wild), or a launcher that fires a random number of cards in place of a draw pile (launcher).

Import it

import type { HitotsuMode } from "@johnmorrisdotca/hitotsu";

Definition

type HitotsuMode = "classic" | "all-wild" | "launcher";

Examples

import type { HitotsuMode } from "@johnmorrisdotca/hitotsu";

const value: HitotsuMode = "all-wild";
console.log(value);
all-wild

What it prints (run when this page was built)

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