Skip to content

Taj354/Final-Project

Repository files navigation

🏀 C++ Sports Score Tracker

A console-based C++ application to track scores, players, and statistics across multiple sports leagues such as basketball, football, soccer, and tennis.

📌 Features

⚽ League Management

  • Create a new league for any sport (e.g., Basketball, Soccer)
  • Add teams with unique names
  • Add players to individual teams

🏆 Live Game Scoring

  • 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)

📊 Statistics Tracking

  • 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 and Load Leagues

  • Save a complete league to a text file
  • Load league data back into the program
  • All teams, players, and their stats are preserved

🧭 User-Friendly Menu System

  • Simple, interactive menu for navigating:
    • League creation
    • Team/player management
    • Game recording
    • Viewing stats
    • Saving/loading

🚀 Getting Started

Compile

You can compile this program using any standard C++ compiler, for example with g++:

g++ -std=c++11 -o score_tracker main.cpp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages