Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 1.47 KB

README.md

File metadata and controls

81 lines (61 loc) · 1.47 KB

Poker-AI

Poker Project with agents that can play Texas Hold'em No Limit. There's also a clustering to get the types of Poker Players around the table.

Agents use different strategies :

  • Stochastic probability
  • Monte Carlo / Monte Carlo Tree Search
  • Outs

We use texasholdem library :

Install

You need Python 3.11 (or newer version). Open a powershell or a command prompt. Then git clone this repository (enther those commands in a command prompt) :

git clone git@github.com:LucasColas/Poker-AI.git

Go to the repository

cd Poker-AI

Now, you need to install the dependencies.

You can either use requirements file or Poetry to install dependencies.

With Poetry

If you want to instal dependencies with Poetry. First, install poetry.

Create virtual environment :

poetry env use python

Then, activate virtual environment :

poetry shell

Then, just run :

poetry install

Finally, you can run the code. You just need to run main.py :

python main.py

or

python .\main.py

With requirements.txt

Create a virtual environment (or not, it's up to you). Then run the command :

pip install -r requirements.txt

Finally, you can run the code. You just need to run main.py :

python main.py

or

python .\main.py