Reference · Game engine and table
HITOTSU_POINTSconstant
What a card left in a hand is worth to the player who went out: its number, twenty an action card, fifty a wild.
Import it
import { HITOTSU_POINTS } from "@johnmorrisdotca/hitotsu";
Definition
const HITOTSU_POINTS: { readonly action: 20; readonly wild: 50; } = { action: 20, wild: 50 } as const
Members
| Name | Type | Description |
|---|---|---|
action | 20 | |
wild | 50 |
Examples
import { HITOTSU_POINTS } from "@johnmorrisdotca/hitotsu";
console.log(HITOTSU_POINTS);{ action: 20, wild: 50 }What it prints (run when this page was built)