Inspiration

Poker. The game that slowly took over our lives. She slowly crept in as a fun, enjoyable game to play with friends, but soon enough she pit us all against each other, emptying our hearts and our wallets in the process. We created this bot to finally conquer the game of poker, and end her for good.

What it does

Our bot relies on Monte-Carlo simulations to calculate the probability of our current hand leading to a successful outcome. Our bot then takes these calculations and acts on them based on their probabilities.

How we built it

On each turn of the cards we factored in our hand and the flop and generated simulations against randomly generated cards to evaluate how often a certain hand would lead to a positive outcome. These probabilities of outcomes then factored into whether the bot fold, called, or to the extent to which it raised.

Challenges we ran into

The main challenge we ran into was determining what probabilities were high enough to warrant betting a sizeable amount. To our suprise, any 3 random cards would generate at least a 40% success rate, so we had to narrow our criteria for successful hands. This required us to look into many common poker evaluation scores and figure what baseline hands we felt were playable.

Accomplishments that we're proud of

We are proud that we were able to statistically calculate the best actions based on our hand, giving us a clear formula to define actions in so many niche cases.

What we learned

We learned how to properly use Git version control as we worked on various parts of the program simultaneously. We also learned how to run simulations in programming and evaluate based on those results.

What's next for pokerIHardlyKnowHer

pokerIHardlyKnowHer will look to scale up and be customized to support new forms of poker. In the future it may even broaden its scope to ending all card games forever.

Built With

Share this project:

Updates