🤖 PokerBot Strategy
PokerBot plays Heads-Up No-Limit Hold’em using a mix of rule-based and probabilistic strategies:
🏁 Preflop Strategy
Classifies the 3-card starting hand into one of five categories:
- Trips: Raise to max
- Broadway (all cards ≥ Ten): Raise to max
- Pair: Raise to min
- Trash (all cards < 8): Check or fold
- Neutral: Call if cheap, else fold
🔁 Postflop Strategy
Uses Monte Carlo simulations to estimate hand strength against random opponent hands:
- High strength (> 85%) → Raise to max
- Low strength & high opponent aggression → Occasionally bluff (min raise)
- Strength ≥ Pot Odds → Call
- Otherwise → Check or fold
🧠 Opponent Modeling
Tracks how often the opponent commits large amounts of chips:
- If aggressive in >50% of rounds, increases bluff frequency
🂠 Hand Evaluation
Ranks hands using all 5-card combinations from available cards to determine the best hand.

Log in or sign up for Devpost to join the conversation.