Reference · Game engine and table
HitotsuChallengetype
A Wild Draw Four the player to move may challenge: who played it, and whether they held a card of the colour it was played on.
Import it
import type { HitotsuChallenge } from "@johnmorrisdotca/hitotsu";
Definition
type HitotsuChallenge = {
by: number;
bluffed: boolean;
};
Members
| Name | Type | Description |
|---|---|---|
by | number | |
bluffed | boolean |
Examples
import type { HitotsuChallenge } from "@johnmorrisdotca/hitotsu";
const value: HitotsuChallenge = { by: 1, bluffed: false };
console.log(value.by);1What it prints (run when this page was built)