NullSquad / peer-2-pong

0 stars 0 forks source link

League Leaderboard #5

Open eralonso opened 1 week ago

eralonso commented 1 week ago

As a player, I want to view the league leaderboard so that I can see my ranking and compare my performance with other players in the league.

Acceptance Criteria

  1. Given a user is logged into the web, when they navigate to the leaderboard section, then they should see a list of all players in the current league ranked by their ELO ratings.

  2. Given the leaderboard is displayed, when a user views it, then it should show each player's rank, name, ELO rating, number of matches played, wins, and losses.

  3. Given a match result has been confirmed, when the system processes the result, then the leaderboard should update automatically to reflect the new rankings.

  4. Given a player is viewing the leaderboard, when they find their own entry, then it should be visually highlighted for easy identification.

  5. Given a user is viewing the leaderboard, when they interact with column headers, then they should be able to sort the leaderboard by different criteria (e.g., ELO rating, matches played, win percentage).

  6. Given players have different skill levels, when displaying the leaderboard, then it should visually represent different tiers or skill brackets (e.g., bronze, silver, gold) based on ELO ranges.