ClimbPlaytype
What is on the table: the last cards played to this trick, and whose they were.
Import it
import type { ClimbPlay } from "@johnmorrisdotca/toranpu/big-two";
Also exported from: @johnmorrisdotca/toranpu/president
Definition
type ClimbPlay = {
seat: number;
cards: CardId[];
};
Members
| Name | Type | Description |
|---|---|---|
seat | number | |
cards | string[] |
Examples
import type { ClimbPlay } from "@johnmorrisdotca/toranpu/big-two";
const value: ClimbPlay = { seat: 0, cards: ["3D"] };
console.log(value.cards);[ '3D' ]What it prints (run when this page was built)