My poker bot’s opening playbook. In Texas Hold’em you’re first dealt two cards and have to decide whether to play or fold before any shared cards appear. There are 169 possible two-card combinations. This chart shows which ones the bot chooses to play. No poker knowledge needed.
This chart is only the first decision. Once shared cards appear on the table, the bot stops using a chart. Instead it deals out the rest of the game thousands of times in its head using a poker library called eval7, counts how often it would win, and bets accordingly. It also has a safety rule: it will not put lots of chips at risk unless it actually has a strong made hand, because an opponent betting big usually has something good.