mzarejko / pokerBot

Implementation of AI Poker HULH with Deep CFR and MCCFR ES as thesis for Bachelor of Engineering degree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PokerBot

Abstract

Main goal of the project is to present author’s implementation of the Deep CFR algorithm with the Heads Limit Poker Texas Hold’em. It is a modern method for creating artificial intelligence in large partial-observable games. Such environments have always been a great challenge and the main barrier
to the development of machine learning. The project will show this problem by implementation of Deep CFR and analysis of the results. For this purpose, five recognition models were created every 10 iterations of the algorithm. Next step was to create games with that models. The results allowed to select the best playing models and to see how Deep CFR learned over time. Additionally, the quality of the models was tested against a simple program which simulate beginner player.

  1. Goal
  2. Technologies
  3. Build
  4. Results

Goal

Technologies

For local development all libraries can be installed with command:

$ pip install -r requirements.txt 
Neural Network DCFR HULH
tensorflow 2.6 tqdm pypokerengine
numpy 1.21 numpy 1.21 numpy 1.21

Build

Neural Network Architecture

alt text

Replay Memory

alt text

HULH parametrs

parametr value
ante 0
small blind 5
big blind 10
reset environment after this round 1
stock 80
number of players 2

DCFR parametrs

parametr value
iterations of MCCFR ES 270
DCFR iterations 50
save model each iterations 10

UML

alt text

Results

alt text alt text alt text alt text

About

Implementation of AI Poker HULH with Deep CFR and MCCFR ES as thesis for Bachelor of Engineering degree


Languages

Language:TeX 74.4%Language:Python 25.6%