|
Have you tried compression? For example instead of storing, x1, x2, x3, x4, x5, you can store x1, x2-x1, x3-x2, x4-x3, x5-x4 Using few decimals it may compress better with the standard algorithms. Assuming almost constant speed, you may guess x3 from x2 and x1 and x3=~ 2*x2-x1, so instead of x3, x4, ... you store x3-2\x2+x1, x4-2\x3+x2, and compress it. For a car, I'd assume constant acceleration and if I didn't make a mistake, x4=~ 3x3-3x2+x1, so you store x4-3x3+x2-x1 and compress the sequence. |
In any case, the ideal solution would be if the API allowed us to send the player’s average time as a parameter, so we could fetch opponents at a similar skill level, that would greatly improve the gameplay experience. I’ll mention it again to the backend team, and if we’re lucky, maybe they can prioritize that feature.
Cheers, and thanks again!