minimax and alphabeta v1