mesosoi / silverwaregames-io-issue-tracker

Issue Tracker for SilverwareGames.io
https://silverwaregames.io
4 stars 0 forks source link

More API for displaying leaderboard to users in game. #359

Open michaelplzno opened 1 month ago

michaelplzno commented 1 month ago

Should be able to get a user's rank, total number of players who ranked, percentile of where they are in the listing (better than 90% of players.) and the top 10 scores.

mesosoi commented 1 month ago

Getting the top scores is already possible, though I guess currently the server would return up to 128 entries and you'll have to cut it to 10 on the client-side. Not optimised! ❌☹

The rest will be added soon

michaelplzno commented 1 month ago

There should be a call that just does top 10 too, or a way to specify how many entries to get.

mesosoi commented 1 month ago

There should be a call that just does top 10 too, or a way to specify how many entries to get.

I know… that's what I said