Adversarial Search Flashcards
Simple Games
Environment with multiple agents that keep most other restrictions in place (chess, poker, monopoly)
Two-player Games
Classic game with two players
Perfect Information Games
All players know exact state of the game
Zero-sum Games
The result/utility for each player at the end of the game is exactly the opposite of the opponent (summed result, tournament)
Search tree for 2-player, zero-sum games
- opponent makes every other move
- form tree in alternating layers
- choose actions that maximize our utility and minimize opponent utility
- result of tree is a single move
Minimax
Function used in 2-player, zero-sum games
- if terminal, return utility
- if max player, return max of all options
- if min player, return min of all options
Alpha-Beta Search Algorithm
If we can move to ‘m’ which has better minimax value then ‘n’, don’t need to expand path with ‘n’.
a = value of highest value choice along max path
b = value of lowest value choice along min path