deferred-impact / battledudes-issue-tracker

Because discord just isn't good enough. Neither is Taiga.io, ironically
5 stars 1 forks source link

Actually show the player in leaderboards, even if they aren't top 50. #40

Open NOTGregory opened 2 years ago

NOTGregory commented 2 years ago

Make it so that, for instance, if you are #205, your name and position is displayed below all the others, so that you know where you are compared to those who are actually on the leaderboard.

(Clearly not showing me in the leaderboards) image

NOTGregory commented 2 years ago

dont know if it really counts as a bug but idc

deferred-impact commented 2 years ago

I mean, i am not against it, but it wouldn't offer any extra info (except for your position, which is like #78851 in the top of all time probably lmao - not very useful)

Also depending on the type of backend database used for this, computing your position in large leaderboards (e.g. top KPG all time) may involve a lot of sorting, impacting performance. An SQL database should handle it well, but a document or key value store e.g. MongoDB or Redis would take some time to think it through. I guess we just need to ask the dev which one it is at the backend

Then there's the problem of several seasons worth of data being (lost?) (inaccesible?) which inherently means no sorting for top of all time and for each season lost. Depending whether the data is actually properly lost, this may mean that sorting the full list of all time is completely impossible (or at least would need the game to show a disclaimer like "sorry, some data was lost, so this list is incomplete")