created minimax, with and w/o alpha-beta pruning