initMaxValue now returns the best move