Minimax + alpha-beta, visualised

Chess Tree 3D

A 3D chess game whose AI thinks out loud: every position it weighs is drawn live as a search tree, right next to the board.

View on GitHub Read the docs →
A finished depth-4 search drawn in 3D: thousands of branches fanning out in rings, pruned branches in red, cutoffs ringed in orange and the best line in green
A finished depth-4 search: ~25,000 branches pruned.best lineprunedcutoff