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

Provide data for Game page #496

Closed
7 tasks
hburn7 opened this issue Oct 13, 2024 · 1 comment
Closed
7 tasks

Provide data for Game page #496

hburn7 opened this issue Oct 13, 2024 · 1 comment
Labels
area:games epic Feature that requires significant effort to implement type:feature

Comments

@hburn7
Copy link
Collaborator

hburn7 commented Oct 13, 2024

Overview

  • Create all data needed for the dedicated Game page on the site

Tasks

  • Create GameCompactDTO which has game data without any navigations
  • Create GameResultDTO which contains teamRedScore: int and teamBlueScore: int and include on GameDTO
  • Create GameMatchInfoDTO which contains totalGames: int and matchWinner: str and include on GameDTO
  • Include TournamentCompactDTO and include on GameDTO
  • Include BeatmapDTO on GameDTO
    • If not present, include a thumbnailUrl field on BeatmapDTO which polls the osu! website for the beatmap image
    • Should we store thumbnails on our side or can we dynamically call this?
  • Create GameTeamStatisticsDTO which has averageScore, averageMisses, averageAccuracy, and averageRating of those who participated in the game. There should be one of these DTOs included for team red and team blue (i.e. game.teamRedStatistics.averageScore.
    • The rating values displayed should be the player ratings at the time this match occurred. This can be found by querying for the RatingAdjustment which happened immediately prior to the match's StartTime.

Design

image

@hburn7 hburn7 added type:feature epic Feature that requires significant effort to implement area:games labels Oct 13, 2024
@github-project-automation github-project-automation bot moved this to Backlog in otr-beta-v2 Oct 13, 2024
@hburn7
Copy link
Collaborator Author

hburn7 commented Jan 19, 2025

Replaced by #580

@hburn7 hburn7 closed this as completed Jan 19, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in otr-beta-v2 Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:games epic Feature that requires significant effort to implement type:feature
Projects
Status: Done
Development

No branches or pull requests

1 participant