UNPKG

@idealic/poker-engine

Version:

Professional poker game engine and hand evaluator with built-in iterator utilities

8 lines 429 B
import type { Hand, Player, Game as GameType } from '../types'; export type PlayerFunction = (game: GameType, player: Player) => Promise<string>; /** * Orchestrates a poker game by managing dealer actions and player responses. * Returns a new game state with all actions applied. */ export declare function croupier(hand: Hand, players: PlayerFunction[], game?: GameType): Promise<Hand>; //# sourceMappingURL=croupier.d.ts.map