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

Statistics + Leaderboards tracking #15

Open
2 of 6 tasks
ashhhleyyy opened this issue Nov 17, 2021 · 0 comments
Open
2 of 6 tasks

Statistics + Leaderboards tracking #15

ashhhleyyy opened this issue Nov 17, 2021 · 0 comments

Comments

@ashhhleyyy
Copy link
Member

ashhhleyyy commented Nov 17, 2021

Things to be done for statistics in general

Things that need to be done for leaderboards:

  • Backend implementation
  • API routes
  • Frontend page

Current things to think about for implementing leaderboards:

  • Should leaderboards update in fixed intervals (eg. update every 5 minutes), when statistics are submitted, or just be generated when a request is made?
    I would think that a fixed interval would be best, as at request time could be a performance issue, and when statistics are submitted may be too frequent and potentially cause performance issues/repeated regenerations in a short amount of time.
  • How should leaderboards be managed?
    My current idea is to store them in a repo similar to game configs, using JSON files to define the styling and behavior of ranking calculation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant