Minimax with AB pruning as a tic-tac-toe opponent