Skip to content

Nemandza82/g5-poker-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

g5-poker-bot

AI algorithm for playing texas holdem poker

Introduction

G5 is poker playing program (bot) which won first place at Annual Computer Poker Competition 2018 in Six-Player No-Limit Texas Hold'em category and second place at Acpc 2017 in Heads-up No-Limit Texas Hold'em category.

Quick Links

Building

G5 is written in C++ and C#. Decision making logic is in C++, while Acpc client and program to play against the bot is written in C#. Visual Studio 2017 is required to build and run the program on Windows. While building Acpc client requires .NET core build chain for Linux (Tested in Ubuntu 16.04).

Playing Logic

Playing logic is based on Bayesian opponent modeling, so it can figure out approximate playing style of opponent from only a few hands. Initial (prior) playing strategy of the opponent is estimated from hand histories from internet play (2 million hands used). After each played hand bot updates the model using Bayesian inference.

Opponent model is then used in standard Expectiminimax or Miximax search through game tree, where opponent range is also estimated using Bayesian inference as hand progresses. At opponent nodes, algorithm considers all possible actions with probabilities given by opponent model. At leaf nodes expected value is calculated using estimated opponent range.

Recent Developments and Resources

Sumarisation of recent research: https://aipokertutorial.com/top-agents-and-research/

License

G5 is released under MIT license.

About

AI algorithm for playing texas holdem poker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages