Reference · Game engine and table
HITOTSU_COLOURSconstant
The four colours in the order a hand sorts them and a picker offers them.
Import it
import { HITOTSU_COLOURS } from "@johnmorrisdotca/hitotsu";
Definition
const HITOTSU_COLOURS: readonly HitotsuColour[] = ["R", "Y", "G", "B"]
Examples
import { HITOTSU_COLOURS } from "@johnmorrisdotca/hitotsu";
console.log(HITOTSU_COLOURS);[ 'R', 'Y', 'G', 'B' ]What it prints (run when this page was built)