Adversarial Search
The following show pseudocode for Minimax and Minimax with alpha-beta pruning
Minimax
Alpha-Beta Pruning