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.

24 lines (23 loc) 680 B
import Player from "./Player"; import Board from "./Board"; import Game from "./Game"; import { ICardNumber, ISuit, Suits } from "./Interfaces"; export default class Card { private suit; private num; private game; private owner; private rank; readonly str: string; constructor(suit: ISuit, num: ICardNumber, game: Game); toString(): string; color(): "white" | "red"; inPlay(): boolean; setOwner(owner: Player | Board): this; isAce(): boolean; isLowAce(): boolean; setAsLowAce(): this; getRank(leading_zero?: boolean): any; getSuit(): Suits; getNum(): import("./Interfaces").CardNumbers; }