# Task ID: 17
# Title: Basic Game Statistics & Display
# Status: pending
# Dependencies: 5, 16
# Priority: medium
# Description: Develop the functionality to track and display basic user game statistics, such as total games played, win rate, and current/max win streaks, on the user's profile.
# Details:
Frontend: Create a 'My Profile' section that fetches user stats from the backend. Display `totalGames`, `wins`, `winRate` (calculated from wins/totalGames), `currentStreak`, `maxStreak`. Backend: Ensure that `Game End & Settlement` (Task 16) correctly updates these fields in the User model.

# Test Strategy:
Play multiple games with varying outcomes. Verify that statistics on the profile page update correctly after each game. Test edge cases like a user's first game, or breaking a win streak.
