UNPKG

poker-odds-calc-test

Version:
31 lines (30 loc) 976 B
import Player from "./Player"; import Deck from "./Deck"; import Game from "./Game"; import Board from "./Board"; import { Games as iGames } from "./Interfaces"; export default class Table { protected seats: number; protected players: Array<Player>; protected deck: Deck; protected game: Game; protected board: Board; private _exhaustive; private _limit; constructor(game?: iGames, seats?: number); exhaustive(): this; runExhaustive(): boolean; limit(limit: number): this; getLimit(): number; tripsBeatsStraight(): this; getPlayersInHand(): Player[]; getDeck(): Deck; getGame(): Game; getBoard(): Board; boardAction(fn: Function): this; setPlayerHand(hand: Array<string>, seat: number): this; addPlayer(hand: Array<string>): this; calculate(): import("./Result").default; setBoard(cards: Array<string>): this; setDeadCards(cards: Array<string>): this; }