TableSpottype
A card on the table, as a person points at it: the pile, and its place from the bottom (-1 for the pile's empty place).
Import it
import type { TableSpot } from "@johnmorrisdotca/toranpu/klondike";
Definition
type TableSpot = {
pile: KlondikePile;
index: number;
};
Members
| Name | Type | Description |
|---|---|---|
pile | KlondikePile | |
index | number |
Examples
import type { TableSpot } from "@johnmorrisdotca/toranpu/klondike";
const value: TableSpot = { pile: "1", index: 0 };
console.log(value.pile);1What it prints (run when this page was built)