Vector3 PlayerMove() { Vector3 action_ = Vector3.zero; if (select_algorithm == 1) { Minimax action = new Minimax(this, depth); action_ = action.GetAction(); } else if (select_algorithm == 2) { AlphaBeta action = new AlphaBeta(this, depth); action_ = action.GetAction(); } else if (select_algorithm == 3) { Expectimax action = new Expectimax(this, depth); action_ = action.GetAction(); } return(action_); }