Giter Site home page Giter Site logo

lucascolas / poker-ai Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 3.15 MB

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

License: GNU General Public License v3.0

Python 100.00%
clustering machine-learning mcts monte-carlo poker probability cfr deep-learning reinforcement-learning

poker-ai's Introduction

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

poker-ai's People

Contributors

dependabot[bot] avatar guillaumehermoso avatar lucascolas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.