NullSquad / peer-2-pong

1 stars 0 forks source link

Match Result Reporting #7

Open San-tito opened 1 week ago

San-tito commented 1 week ago

As a player, I want to report the results of my ping pong matches so that my performance is accurately recorded and reflected in the league standings.

Acceptance Criteria

  1. Given a player has completed a scheduled match, when they access the app, then they should see an option to report the match result.

  2. Given a player is reporting a match result, when they submit the score, then they should be able to input the number of sets won by each player.

  3. Given both players have reported the match result, when the reports match, then the system should automatically confirm and record the result.

  4. Given the two players' reports for a match do not match, when this discrepancy is detected, then the system should flag the match for admin review.

  5. Given a match has been played, when 24 hours have passed without a result submission, then the system should send a reminder notification to both players.

  6. Given a match result has been confirmed, when the system processes the result, then it should update the ELO ratings of both players involved.

  7. Given a new match result is confirmed, when the system updates player statistics, then the league leaderboard should reflect these changes immediately.

  8. Given a match result is in dispute or hasn't been reported, when an admin reviews the situation, then they should have the ability to manually input or correct the result.

  9. Given a player has submitted a match result, when the result is confirmed or disputed, then they should receive a notification about the status of their submission.