poker-variants-odds-calculator
Version:
Fastest and most accurate node module for calculating odds of poker games Texas Hold'em, Texas Shortdeck/Sixplus, Omaha, 5-Card Omaha and 6-Card.
16 lines (15 loc) • 426 B
TypeScript
import Card from "./Card";
import Table from "./Table";
import { IHand, Nullable } from "./Interfaces";
export default class Player {
private seat;
private Table;
private hand;
constructor(seat: number, Table: Table, hand?: Nullable<IHand>);
setHand(hand: IHand): this;
getHand(): string | null;
inHand(): boolean;
getCards(): Nullable<Card[]>;
isEmpty(): boolean;
getSeat(): number;
}