Minimax with Alpha-Beta Pruning

Discover how a game AI chooses its moves by following the Minimax algorithm step by step.

← AI-aktiviteter Svenska

Minimax with Alpha-Beta Pruning

Discover how a game AI chooses its moves by following the Minimax algorithm step by step.

α-β
Build mode: Click a node to add children or change its value. Click Run when you're done.
MAX
MIN
Leaf node
Pruned
Chosen path
Controls
Tip: step through to follow the algorithm's thinking.
Playback speed
What's happening right now?
Press ▶ Next step to follow the algorithm one step at a time.
Status
Step
0 / –
Visited nodes
0
Pruned nodes
0
Root value (algorithm's answer)
Step-by-step log
Press Next step to begin.
Minimax MAX MIN Alpha (α) Beta (β) Pruning