Analysis of the alpha-beta pruning algorithm