UNPKG

poker-ts

Version:

Texas Hold 'Em Poker table model with convenience features for running real games.

9 lines (8 loc) 233 B
import Card from './card'; export default class Deck extends Array<Card> { private readonly shuffle; private _size; constructor(shuffleAlgorithm?: (array: Card[]) => void); fillAndShuffle(): void; draw(): Card; }