- User profiles display stats, such as wins and losses.
- Each user has a Match History including 1v1 games, dates, and relevant
details, accessible to logged-in users.
So we need to make the match history and details of friends available. We need to make a profile page for each friend with all the details.
[x] Create basic frontend representation of all the details -> works for both current user and friends.
[x] Get the right endpoints to calculate all the match stats etc.
[x] Match History => scroll through all matches with [MatchID, Tournament name, date, winner]
[x] General profile stats => [Total games played, Wins, Losses, Win rate]
See page 12 of subject:
So we need to make the match history and details of friends available. We need to make a profile page for each friend with all the details.
[MatchID, Tournament name, date, winner]
[Total games played, Wins, Losses, Win rate]