AB Pruning
Last updated
What is AB Pruning?
Alpha-Beta pruning is an optimization technique for the minimax algorithm used in artificial intelligence (AI) programming, such as game development. It cuts off branches in the game tree that don't need to be searched because there's already a better move available. It uses two parameters, alpha and beta, which represent the minimum score that the maximizing player is assured of and the maximum score that the minimizing player is assured of, respectively. During the traversal of the game tree, branches of the tree that cannot possibly influence the final decision are not explored. This process 'prunes' the minimax tree, saving computational time and resources.
Free resources to learn AB Pruning
More in stage 13: Game AI
AB Pruning: common questions
Can I learn AB Pruning in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain AB Pruning in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this AB Pruning tutorial for beginners?
It is lesson 114 of 144 in the free Game Developer roadmap, in stage 13, Game AI. If you are new to Game Developer, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.