Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New DTO for match webpage #279

Open
hburn7 opened this issue Apr 27, 2024 · 0 comments
Open

New DTO for match webpage #279

hburn7 opened this issue Apr 27, 2024 · 0 comments

Comments

@hburn7
Copy link
Collaborator

hburn7 commented Apr 27, 2024

Match Data

When fetching /api/matches/{id} we must return a new DTO with the following information:

  • Team red score
  • Team blue score
  • Match start time
  • Match link
  • Total games in match
  • Match winner
  • Tournament format
  • Tournament abbreviation
  • Tournament ruleset
  • Tournament forum post

For all maps:

  • Map name
  • Map id
  • Map osu! id
  • Mapper name
  • SR
  • Map drain time
  • Map artist note this replaces "Created" on the figma

Rating changes, for each team...

  • List of player usernames, rating before, rating after, rating delta, match cost average

Stats, for each team...

  • Average score, average misses, average accuracy across the match

Questions before implementing

  1. How do we handle head to head where there is not red/blue team?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

1 participant