Minimax Algorithm
Minimax calculates optimal strategic choices in 2-player zero-sum games by recursively assuming the opponent plays optimally to minimize your score.
Category:Adversarial Search
•Difficulty:Intermediate
•Time complexity:O(b^m)
•Space complexity:O(bm)
Interactive VisualizationMinimax Visualizer
Minimax Game Tree
Squares = MAX player. Circles = MIN player.
?
?
?
-1
10
?
-5
6
?
?
-2
-3
?
0
4
0/0
Real-time Telemetry HUD
Live StreamNodes Explored
0Frontier (Open Set)
0Optimal Cost g(n)
—Total Step Frames
0