Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
  • Playing again and again0/4
  • Win or lose: minimax0/4
  • Auctions and bargaining0/4
  • Voting0/4
  • Evolution plays games0/4
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
±\pm±Game theory, module 7: Win or lose: minimax, lesson 2 of 4

Minimax

Assume the other player is perfect, then pick the move whose worst case is best. The rule behind every game-playing computer.

7 minute read3 questionsFree

Read the whole lesson free

Make a free account to read on, try the examples, answer the 3 practice questions and keep your progress.

Create a free accountLog in

What this lesson covers

  • Minimax: for each move, find its worst case, then choose the move with the best worst case.
  • In zero-sum games, assuming the opponent is perfect is realistic.
  • Minimax works down a game tree, alternating maximum and minimum.

More in Win or lose: minimax

  1. 1Noughts and crosses
  2. 2Minimax
  3. 3How chess computers think
  4. 4Zero-sum or not?