Home▸Algorithms & AI▸Minimax Game Tree Search (2D)

♟️ Minimax Game Tree Search (2D)

2D top-down game-tree diagram of minimax search with alpha-beta pruning: watch values propagate up MAX/MIN levels and pruned branches get crossed out, step by step.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-minimax-tree ↗ Open standalone
⚙ Under the hood

Watch a minimax algorithm evaluate a game tree from the leaves upward, with MAX and MIN players alternating turns. Toggle alpha-beta pruning to see cut-off branches crossed out live, and step through the search one node at a time.

algorithmsminimaxalpha-betagame-treeaisearch

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)