Minimax — visits all nodes
0
Visited
0
Pruned
Result
Build a tree to begin visualization.
Step — / —
MAX
MIN
Active
Done
Pruned
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.