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

Implement option to specify whether leaderboard should be based on total points acquired, or current balance #93

Open
JobDoesburg opened this issue Aug 17, 2023 · 1 comment
Labels
feature New features

Comments

@JobDoesburg
Copy link
Collaborator

Maybe I acquire 100 points during a tournament, but in the store I buy things for 80 points.
Should I be displayed in the leader board with 20 points (because I also spent points)? Or should I still be leading with 100 points (because that's still what I earned).

This choice depends on your view on the tournament (whether the store is an actual game element, or a reward store). I think this behavior should be user-selected for each tournament (or store)

@JobDoesburg JobDoesburg added the feature New features label Aug 17, 2023
@KiOui
Copy link
Owner

KiOui commented Aug 17, 2023

Yes. Right now I implemented this rather quickly with a different account that keeps track of the "coins" that are spendable. If a tournament uses both spendable coins and points we could also use one account. An idea could be to only filter on positive transactions and let that be the score total. The reason why I did it this way is because we also want to be able to deduct points so we should keep that in mind as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features
Projects
None yet
Development

No branches or pull requests

2 participants