BigTwoValuetype
A play's kind and how strong it is among plays of the same number of cards.
Import it
import type { BigTwoValue } from "@johnmorrisdotca/toranpu/big-two";
Definition
type BigTwoValue = {
kind: BigTwoKind;
size: number;
strength: number;
};
Members
| Name | Type | Description |
|---|---|---|
kind | BigTwoKind | |
size | number | |
strength | number |
Examples
import type { BigTwoValue } from "@johnmorrisdotca/toranpu/big-two";
import { bigTwoValue } from "@johnmorrisdotca/toranpu/big-two";
const value: BigTwoValue = bigTwoValue(["3D"])!;
console.log(value.kind);singleWhat it prints (run when this page was built)