Code Monkey home page Code Monkey logo

g5-poker-bot's Introduction

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.

g5-poker-bot's People

Contributors

nemandza82 avatar mudr0x avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.