Skip to main content

Crate casino_poker

Crate casino_poker 

Source
Expand description

Poker hand evaluation, betting and pot logic, and a resumable Texas Hold’em engine.

Most applications start with hand_rankings::evaluate_holdem for hand comparison or games::texas_hold_em::TexasHoldEm for complete game management.

Re-exports§

pub use casino_cards;
pub use uuid;

Modules§

agent
Agent-facing decisions and player snapshots. The agent interface: how a human or AI is asked to act.
betting
Betting actions, validation, and per-street state. Betting math and the per-street betting-round state machine.
events
Serializable game events and observers. Game events emitted by the engine, and the observer that receives them.
games
Poker game engines.
hand_rankings
Poker hand evaluation and comparison. Poker hand evaluation and comparison.
player
Player identity and chip-stack types. Player identity and chip-stack types.
pot
Main-pot and side-pot construction and distribution. Pot construction and distribution for Texas Hold’em, including side pots.