UNPKG

poker-odds-calc

Version:

Fastest and most accurate node module for calculating odds of poker games Texas Hold'em, Texas Shortdeck/Sixplus and Omaha.

16 lines (15 loc) 444 B
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(): Nullable<string>; inHand(): boolean; getCards(): Nullable<Card[]>; isEmpty(): boolean; getSeat(): number; }