Project Demo
Backgammon AI
A full Backgammon engine with five AI opponents of increasing sophistication, a tournament mode that runs any combination of bots round-robin, and per-bot parameter tuning via a setup UI — no code changes required.
Downloads · Windows 10+ · No install needed
WindowsBackgammonAI_windows.zipExtract and run from inside the folder · Launches instantly
Download (zip)WindowsBackgammonAI.exeSingle file, run from anywhere · First launch takes ~60 s
Download (portable .exe)macOSBackgammonAI_mac.zipExtract and double-click BackgammonAI.app to run
Download (.app zip)
AI Opponents
Level 1
Random
Plays legal moves at random — useful as a baseline.
Level 2
Heuristic
Six-feature weighted evaluation function — hit blots, prime builders, home-board coverage.
Level 3
Minimax
Depth-limited minimax search over the heuristic evaluator.
Level 4
MCTS
Monte Carlo Tree Search with UCB1 selection — balances exploration and exploitation.
Level 5
Neural Network
PyTorch model trained to outperform the heuristic bot — ~60% win rate against it.
Tech Stack
PythonPyTorchTkinterDocker