WarEndtype
Why a game of War ended: one player has every card ("cleared"), a player could not finish a war and the other could,
or both could not and one ran out first ("short"), both ran out together ("drawn"), or the turns ran out ("limit").
Import it
import type { WarEnd } from "@johnmorrisdotca/toranpu/war";
Definition
type WarEnd = "cleared" | "short" | "drawn" | "limit";
Examples
import type { WarEnd } from "@johnmorrisdotca/toranpu/war";
const value: WarEnd = "limit";
console.log(value);limitWhat it prints (run when this page was built)