Poker IA — Monte CarloPoker AI — Monte Carlo
TechnologiesTechnologies (5)
Jeu de poker Texas Hold'em en Python avec interface graphique et une IA adversaire basée sur la méthode de Monte Carlo. Nombre de joueurs et agressivité de l'IA paramétrables. (Polytech Tours, cycle préparatoire PEIP — 2024)Python Texas Hold'em game with a graphical interface and an opponent AI based on the Monte Carlo method. Configurable number of players and AI aggressiveness. (Polytech Tours, PEIP preparatory cycle — 2024)
Lire la présentation complèteRead the full introduction
Jeu de poker Texas Hold'em en Python avec interface graphique et une IA adversaire basée sur la méthode de Monte Carlo. Nombre de joueurs et agressivité de l'IA paramétrables. (Polytech Tours, cycle préparatoire PEIP — 2024)Python Texas Hold'em game with a graphical interface and an opponent AI based on the Monte Carlo method. Configurable number of players and AI aggressiveness. (Polytech Tours, PEIP preparatory cycle — 2024)
Projet développé lors de ma 1ère année de cycle préparatoire intégré (PEIP, année 1 sur 5) à Polytech Tours.
Il s'agit d'un jeu de poker (Texas Hold'em) codé en Python, avec interface graphique, implémentant une intelligence artificielle adversaire. L'IA utilise une méthode de Monte Carlo pour simuler aléatoirement de nombreuses fins de parties possibles et estimer statistiquement sa probabilité de victoire avant de prendre une décision (se coucher, suivre ou relancer).
Project from my first year in the integrated preparatory cycle (PEIP, year 1 of 5) at Polytech Tours.
A Texas Hold'em poker game in Python with a graphical interface and an adversarial AI. The AI uses a Monte Carlo method to randomly simulate many possible endings and statistically estimate its winning probability before deciding to fold, call or raise.
Le programmeThe program
Le programme
- Interface graphique pour jouer contre des adversaires virtuels
- IA paramétrable : nombre de joueurs et niveau d'agressivité réglables via un fichier de configuration
- Décision par simulation Monte Carlo — l'IA échantillonne un grand nombre de scénarios pour estimer sa cote avant chaque action
- Visualisations matplotlib (probabilités, statistiques de parties)
- Multi-plateforme (Windows, macOS, Linux), installation
pip install -r requirements.txt
Un de mes premiers projets d'algorithmique et d'IA — l'occasion de manipuler les probabilités, l'échantillonnage aléatoire et la structuration d'un programme en modules.
The program
- Graphical interface to play against virtual opponents
- Configurable AI: number of players and aggressiveness level tunable via a config file
- Monte Carlo decision-making — the AI samples many scenarios to estimate its odds before each action
- Matplotlib visualizations (probabilities, game statistics)
- Cross-platform (Windows, macOS, Linux), install via
pip install -r requirements.txt
One of my first algorithmics and AI projects — a chance to work with probability, random sampling and structuring a program into modules.