woctezuma/puissance4
AI for the game "Connect Four". Available on PyPI.
Implements three progressively sophisticated AI opponents using Monte Carlo tree search: biased random player with game-specific heuristics (winning/blocking moves), pure Monte Carlo evaluation via fixed simulations, and UCT (Upper Confidence bounds for Trees) algorithm balancing exploration-exploitation through the UCB formula with backpropagation. Includes interactive gameplay and batch training modes to benchmark different player strategies across multiple games.
Available on PyPI.
Stars
5
Forks
1
Language
Python
License
MIT
Category
Last pushed
Nov 20, 2025
Monthly downloads
67
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/woctezuma/puissance4"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
facebookresearch/BenchMARL
BenchMARL is a library for benchmarking Multi-Agent Reinforcement Learning (MARL). BenchMARL...
datamllab/rlcard
Reinforcement Learning / AI Bots in Card (Poker) Games - Blackjack, Leduc, Texas, DouDizhu, Mahjong, UNO.
Toni-SM/skrl
Modular Reinforcement Learning (RL) library (implemented in PyTorch, JAX, and NVIDIA Warp) with...
utiasDSL/gym-pybullet-drones
PyBullet Gymnasium environments for single and multi-agent reinforcement learning of quadcopter control
koulanurag/ma-gym
A collection of multi agent environments based on OpenAI gym.