agateau / pixelwheels

A top-down retro racing game for PC (Linux, macOS, Windows) and Android.
https://agateau.com/projects/pixelwheels
Other
418 stars 60 forks source link

Save the Highscore online / on a cloud #32

Open Dtrieb opened 5 years ago

Dtrieb commented 5 years ago

Save the Highscore online / in a cloud so thats it sync if you use more than one device.

agateau commented 5 years ago

I would love to add this, but without adding a hard dependency on Google Play, so that it is usable for F-Droid and Desktop users.

I don't have any experience in this domain, do you know of any useful services to do this? I'd rather not roll my own.

Dtrieb commented 5 years ago

With program language do you need the code?

https://github.com/netmute/highscore https://github.com/sius/hall-of-fame

By the while search here on GitHub for Highscore.

agateau commented 5 years ago

These projects are nice, but I was thinking it would be great to have a global leader board. The problem with this is as soon as such a public score is available, some people are going to try to cheat and post fake scores. It is even easier when both the server and the client source code are available ;)

It would thus need some serious anti-cheat checks. A possible approach would be to post all the inputs of the race and have the server somehow replay it to check it's legit. That is a lot more work though. Need to think about it.