mesosoi / silverwaregames-io-issue-tracker

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

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

Open michaelplzno opened 6 months ago

michaelplzno commented 6 months 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 6 months 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 6 months ago

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

mesosoi commented 6 months 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