Global Leaderboard
See original GitHub issueDescription
Add a global points leader-board, for the points/coins which are earned by users while playing a game like Trivia Quiz, Tic Tac Toe, Connect 4, etc. Currently each game has its own leader-board, and not a combined one together for all games. In short, combining all the leader-boards into one.
Proposed Implementation
-
Make a new redis cache in
bot/bot.py
calledLeaderboard
(say). -
Make a points system in all the games which make use of a leaderboard namely • Battleship • Connect 4 • Riddle • Eggquiz • Minesweeper • Tic Tac Toe • Quiz • Snake Quiz • Snakes And Ladders
-
Make a cog for for viewing the leaderboard in a pretty way, we can make the coins maybe
:lemon_coin:
or:gurkan_coin:
or:gem_red:
(can be discussed more in#media-branding
) -
Make
add_point
andremove_points
utils functions, would be helpful when users earn points.
Would you like to implement this yourself?
- I’d like to implement this feature myself
- Anyone can implement this feature
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top GitHub Comments
I like this idea. Maybe we should introduce a maximum amount of points earned per game and per day, so spamming Quizzes alone won’t get you to the top of the board?
Here’s a few coin prototypes. With the two designs on the left I was playing around with a “euro” style coin. The two on the right are later designs. We came to the conclusions in #dev-branding that the ducky is probably the best bet for the coin face, and that ducky designs seems to be the favorite anyway. Let me know if you have any suggestions.