Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily/weekly leaderboard #39

Open
JacobALundgren opened this issue May 20, 2021 · 3 comments
Open

Daily/weekly leaderboard #39

JacobALundgren opened this issue May 20, 2021 · 3 comments
Labels
feature help wanted Extra attention is needed

Comments

@JacobALundgren
Copy link

Is your feature request related to a problem? Please describe.
Not really

Describe the solution you'd like
How about a daily/weekly leaderboard for high scoring rounds? If a player scores well enough to enter the leaderboard they are prompted for a name and the leaderboard shows up with the scores and names on the main screen.

Describe alternatives you've considered
This introduces some interesting problems, especially relating to preventing abuse. If one is allowed to input one's name freely, language abuse needs to be avoided. Maybe one could require that it's a valid Github username and thus hitch a ride on their filtering algorithms? Also DOSing of the server holding the leaderboards is something that needs to be prevented but I guess this is more on the side of the server. A more complex but less important issue is of course to prevent false scores from being sent.

Additional context
To be honest I don't know if you can do something like this with just the resources given by the github.io page, so maybe this would require an actual server somewhere in which case it's probably less of an interesting prospect :D

@queleok
Copy link
Owner

queleok commented May 22, 2021

It doesn't look like this can be done solely with the github pages, some backend is required

@queleok queleok added the help wanted Extra attention is needed label May 22, 2021
@queleok
Copy link
Owner

queleok commented May 22, 2021

At least, I don't see how to do it solely on the front-end side, but would be glad to hear any suggestions (hence the help wanted label) :)

@queleok
Copy link
Owner

queleok commented Nov 18, 2023

Local storage could be used for agent-specific scoreboard (personal records?) though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants