question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Global Leaderboard

See original GitHub issue

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.py called Leaderboard (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 and remove_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:open
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Akarys42commented, Mar 19, 2021

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?

0reactions
Sn4ucommented, Oct 26, 2021

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. Artboard 37w-29

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make a simple global leaderboard - Community Tutorials
The first step to making a global leaderboard is to make the physical part it will be on. It can be any size,...
Read more >
Global Leaderboard | Sololearn: Learn to code for FREE!
By Course. Machine Learning Data Science HTML JavaScript CSS jQuery React + Redux Responsive Web Design Web Development Fundamentals Angular + NestJS Coding ......
Read more >
Global Leaderboards - Wins - Fortnite Tracker
Rank Player Wins Matches 1 Ship 40,055 65,578 2 SoloWolf JTerra 22,878 39,506 3 TWITCH.GRYPHONRB 20,167 40,006
Read more >
GEW Global Leaderboard - Global Entrepreneurship Network
The following leaderboard shows the countries and organizations that are the most active during Global Entrepreneurship Week. The list displays the total ...
Read more >
Help with global leaderboard? - Scripting Helpers
Help with global leaderboard? Asked by. jdc892 4. 3 years ago. I'm fine with the ordered datastore thing, but in my data storing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found