According to reports on the ground, Didi used its local knowledge to act more nimbly in satisfying Chinese customers. But my guess is that if the American ride-sharing company had been more successful, China would have put a Mao-sized thumb on the scales.
So Didi was actually better; it's a bit unfair to say that otherwise the game would have been rigged.