If there was an optimal solution, it would have been invented already.
It's simple – give first place to the player who started playing the games earlier, and let the second and third places be decided in an additional game.
Все в ней нулево и кукольно.