A console-based C++ application to track scores, players, and statistics across multiple sports leagues such as basketball, football, soccer, and tennis.
- Create a new league for any sport (e.g., Basketball, Soccer)
- Add teams with unique names
- Add players to individual teams
- Play games between two teams by entering their scores
- Record individual player points for each game
- Automatically updates:
- Team wins and losses
- Team total and average points
- Player stats (total points and average)
- View comprehensive stats for every team and player in the league
- Displays:
- Team average points per game
- Wins and losses
- Player average points and games played
- Save a complete league to a text file
- Load league data back into the program
- All teams, players, and their stats are preserved
- Simple, interactive menu for navigating:
- League creation
- Team/player management
- Game recording
- Viewing stats
- Saving/loading
You can compile this program using any standard C++ compiler, for example with g++:
g++ -std=c++11 -o score_tracker main.cpp