SpadesDealScoretype
What one finished deal did to a partnership's score, as the scores table explains it.
Import it
import type { SpadesDealScore } from "@johnmorrisdotca/toranpu/spades";
Definition
type SpadesDealScore = {
points: [
number,
number
];
bags: [
number,
number
];
};
Members
| Name | Type | Description |
|---|---|---|
points | [number, number] | The points the deal made or cost each partnership: seats 0 and 2 first, then 1 and 3. |
bags | [number, number] | The overtricks (bags) each partnership took this deal. |
Examples
import type { SpadesDealScore } from "@johnmorrisdotca/toranpu/spades";
const value: SpadesDealScore = { points: [30, 40], bags: [0, 0] };
console.log(value.points);[ 30, 40 ]What it prints (run when this page was built)