CoolFace
Apppublic

kailiu0712/texas-holdem-cnnppo

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes
App README

๐ŸŽฐ 6-Player No-Limit Texas Hold'em โ€” Multi-Agent PPO

Play 6-player no-limit Texas Hold'em against a configurable table of AI opponents built with the multi-agent PPO self-play training system.

How to Play

  1. 1.Pick your opponents โ€” choose a play style for each of the 5 opponent seats:
  2. 2.Random, Loose Passive, Tight Passive, Calling Station
  3. 3.Nit Reg, Solid Reg, Aggressive
  4. 4.Latest Trained Agent (loads a `.pt` checkpoint if you provide a path)
  5. 5.Set your starting chip count and click ๐ŸŽฒ Start Match.
  6. 6.Click ๐ŸŽด New Hand to deal.
  7. 7.Use the action buttons โ€” only legal moves are enabled.

Card Reveal Order

StreetCommunity display
Preflop5 card backs
Flop3 cards + 2 backs
Turn4 cards + 1 back
Riverall 5 cards

Opponent hands are hidden during play and revealed at showdown.

Technical Details

  • โ€”Environment: PettingZoo texas_holdem_no_limit_v6 (5 actions, up to 8 players)
  • โ€”AI opponents: rule-based heuristic agents with 7 configurable styles
  • โ€”Algorithm: PPO with GAE, clipped surrogate objective
  • โ€”Chip tracking: session balance accumulates across hands