poker-odds-calc-test
Version:
27 lines (26 loc) • 737 B
TypeScript
import Table from "./Table";
import Card from "./Card";
import Player from "./Player";
import { Games as iGames } from "./Interfaces";
export default class Game {
private game;
private Table;
private trips_beats_straight;
constructor(game: iGames, Table: Table);
isTexasHoldem(): boolean;
isSixPlusTexasHoldem(): boolean;
isOmaha(): boolean;
getGame(): iGames;
tripsBeatsStraight(): this;
doesTripsBeatStraight(): boolean;
getResult(players: Array<Player>, board: Array<Card>): {
points: number;
rank: {
rank: string;
str: string;
};
hand: Card[];
cards: Card[];
}[];
private getHandStrentgh;
}