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-wildWhat it prints (run when this page was built)