Poker Bot

Today, I won a (small) tournament of poker bots against coworkers. The bots played one-card poker. One coworker wrote the server in [Ocaml](http://caml.inria.fr/). We had the tournament/party has my coworker Aaron’s house.

I wrote a client in [Ruby](http://www.ruby-lang.org/) which could be used to make bots with different strategies. I came up with four acceptable strategies. The one that I entered and won calculated the optimum bet from the pot odds. The best strategy, which I didn’t enter, estimated the other bot’s card from its bet. That bot beats one counter-strategy bot which the optimum had trouble with.