← All tools
EDTOOLKITS GUIDES

Game Search: Same Best Move, Less Search with Pruning

By Team Edtoolkits · AI learning

Compare full minimax and alpha-beta counts in noughts and crosses while checking that the selected move remains sound.

Use the guide alongside the working tool.

Open Search and Game Playing: How Minimax Looks Ahead →

Explore the lesson

Watch scores bubble up a small game tree.

Play the computer and open its search tree.

Flip the memory card and answer the quick check.

A comparison to try

Try a board with an immediate winning move, then one requiring a block. Compare the full and pruned search options and their work counts on the same board.

Read the result

Minimax considers the opponent's best reply, rather than only the next attractive square. Alpha-beta skips branches that cannot change the current decision; reducing the search count should preserve the best achievable result.

A mistake to avoid

This small game can be searched completely. The empty-board draw assumes perfect play, not that every casual game draws. Results do not imply that exhaustive search or the same pruning savings are feasible in much larger games.

Teaching model and privacy

Noughts and crosses is small enough to search completely, so this computer plays perfectly. Games like chess are too big for that, so real programs search only a few moves deep and estimate the rest. Everything runs in your browser.

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE