Skip to content

Several agents that can play poker (using probability, monte carlo, etc.) and clustering to get the types of poker players.

License

Notifications You must be signed in to change notification settings

LucasColas/Poker-AI

Repository files navigation

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 [email protected]: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

About

Several agents that can play poker (using probability, monte carlo, etc.) and clustering to get the types of poker players.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages