NullSquad / peer-2-pong

0 stars 0 forks source link

Admin Controls #10

Open San-tito opened 1 week ago

San-tito commented 1 week ago

As an admin, I want to manage league settings and tournament details so that I can ensure smooth operation and fair play within the Peer2Pong app.

Acceptance Criteria

  1. Given an admin is logged into the app, when they access the league management section, then they should be able to create a new league season with specific parameters (duration, number of players, match frequency).

  2. Given a league is active, when an admin views the league details, then they should be able to modify settings such as match scheduling rules and player eligibility criteria.

  3. Given a league has started, when an admin needs to adjust match schedules due to unforeseen circumstances, then they should have the ability to manually reschedule matches while notifying affected players.

  4. Given an admin is managing tournaments, when they create a new tournament, then they should be able to set parameters such as tournament type (single elimination, double elimination), maximum participants, and registration deadlines.

  5. Given a tournament is in progress, when an admin views the tournament bracket, then they should be able to update match results and advance players as necessary.

  6. Given a tournament has concluded, when an admin reviews the results, then they should be able to generate reports summarizing player performance and overall tournament statistics.

  7. Given a player needs assistance or has violated league rules, when an admin accesses the player management section, then they should be able to view player profiles and take actions such as issuing warnings or suspending accounts.

  8. Given a player has registered for both the league and tournaments, when viewing their details, then the admin should have access to their match history and statistics for informed decision-making.

  9. Given there are important updates or changes in league/tournament settings, when an admin makes these changes, then they should be able to send notifications to all players affected by the changes.