Minimax algorithm
Minimax explores the entire game tree, alternating between maximizing and minimizing players. MAX nodes pick the highest value child; MIN nodes pick the lowest.
Current step
No step selected yet. Press Play or Next to begin.
Node types
▲ MAX node — selects child with the highest value.
▽ MIN node — selects child with the lowest value.
◆ Leaf node — terminal node with a static heuristic value.
Alpha-Beta bounds
α (alpha) — best value MAX is guaranteed so far. Starts at −∞.
β (beta) — best value MIN is guaranteed so far. Starts at +∞.
When α ≥ β, the remaining subtree cannot affect the final result and is pruned.