larralapid / guess-who-slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leaderboard

larralapid opened this issue · comments

commented

Implementing Leaderboard Functionality

  1. Design the Leaderboard: You'll need to create a UI for the leaderboard. This could be a simple list of user names and scores, or something more complex with user avatars and links to their profiles.

  2. Update Leaderboard: Whenever a game is finished, you'll need to update the leaderboard. This could involve sorting the list of players by their scores and updating the leaderboard UI.

  3. Persist Leaderboard: The leaderboard will also need to be stored in persistent storage so that it can be accessed later. Again, this could be done in Glitch's persistent storage.

  4. Show Leaderboard: You will need to create a command that shows the leaderboard. This could be a slash command or a button that opens a modal with the leaderboard.

Remember that while implementing these features, the game logic and user interface should be accessible and usable for all users, including those with ADHD and dyslexia. Make use of visual aids, clear structure, and straightforward language to ensure this.

Would you like me to provide more detailed steps on any of these tasks?