OK I am almost done, took me a little time to figure a good way of keeping track of pot splitting for no-limit. My original framework had a simple betting system that used fixed bets with no raising.
As a final step, I wanted to get a little feedback as to what game info your AI would need?
Here's what methods I provide so far:
- list of player and their position
- best 5 card hand from 7 cards
- rank of hand, ie.. pair, flush, straight, etc.
- amount in pot
- amount player needs to bet to call
- amount in each players bank
- player acting as dealer (button position)
- your hand and community hand
- notification system - relates game play (bets, folds, wins, deal, etc)
let me know if there's something else you need (or want)