Plays from YouTube. Watch on YouTube
How can an AI plan when its opponent gets to respond?
Back up terminal values through an alternating two-player game tree and learn why MAX chooses the best guaranteed outcome, not the largest visible leaf.
We start with MAX and MIN game-tree recursion, using precise definitions and original examples to establish the problem being solved.
From there, we work through terminal utility, strategies and worst-case guarantees, following the actual operations rather than skipping from the input straight to the final answer.
Then we distinguish a contingent strategy from a fixed move sequence and analyze terminal utilities, tie cases, and exponential game-tree growth.
Finally, we connect the result to implementation. The big idea: minimax protects against the strongest opponent in the model.
Explore more computer science and mathematics lessons from Closiq.