StackUpEndtype
Why a game is over: someone played their last stock card, or nothing could be played for a whole round with no cards left to draw, and the fewest stock cards left wins.
Import it
import type { StackUpEnd } from "@johnmorrisdotca/toranpu/stack-up";
Definition
type StackUpEnd = "emptied" | "stuck";
Examples
import type { StackUpEnd } from "@johnmorrisdotca/toranpu/stack-up";
const value: StackUpEnd = "emptied";
console.log(value);emptiedWhat it prints (run when this page was built)