Anatomy of a pokerbot - room for improvement
So you’ve tried coding your first bot along the lines of our previous post. If you’ve gone to those lengths then you’ve probably also watched it do some stupid things. So where can we improve upon our basic design?
Preflop
Probably the biggest single area for improvement is the preflop play. If you get preflop right then it can really help the rest of the bot’s game. Every good poker player knows that if you play correctly preflop you cut down on mistakes in later streets.
It’s quite hard to get a dynamic preflop system working. One of the reasons is that preflop win percentages tend to be all bunched up. Against nine opponents even pocket aces only have a 30.8% chance of winning (if all opponents go to showdown). The other reason is the lack of information, particularly if we are not in late position. These two factors make a dynamic preflop very sensitive. Often it will perform well in late position when we have a good idea of how many players will hit the flop and what the pot size is, but poorly in early position.
A popular solution is to implement a static preflop strategy before switching to a dynamic strategy postflop. Personally I would advocate Sklansky groups but I’ve also had some success with Lee Jones’ preflop strategy. Basically any of the established preflop systems will work fine.




