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 :
- Code : https://github.com/SirRender00/texasholdem
- Doc : https://texasholdem.readthedocs.io/en/0.10/getting_started.html
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.
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
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