-
-
Notifications
You must be signed in to change notification settings - Fork 263
Global Leaderboard #627
Copy link
Copy link
Open
Labels
area: backendRelated to internal functionality and utilitiesRelated to internal functionality and utilitiescategory: funRelated to fun and gamesRelated to fun and gamesstatus: approvedThe issue has received a core developer's approvalThe issue has received a core developer's approvaltype: featureRelating to the functionality of the application.Relating to the functionality of the application.
Metadata
Metadata
Assignees
Labels
area: backendRelated to internal functionality and utilitiesRelated to internal functionality and utilitiescategory: funRelated to fun and gamesRelated to fun and gamesstatus: approvedThe issue has received a core developer's approvalThe issue has received a core developer's approvaltype: featureRelating to the functionality of the application.Relating to the functionality of the application.
Description
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.pycalledLeaderboard(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_pointandremove_pointsutils functions, would be helpful when users earn points.Would you like to implement this yourself?