OOP Football Score Simulator
- Python
- OOP
- Classes
- Libraries
Features
- Object-Oriented Design – Teams are modeled as Python classes with attributes (wins, losses, points) and methods for updating stats.
- Game Simulation – Matches generate scores using touchdowns, field goals, and PATs with realistic probability.
- Automatic Record Keeping – Each team’s record (wins–losses–ties) and points for/against update after every game.
- Readable Outputs – Custom __str__ and __repr__ methods provide clear displays for debugging and results.
- Randomized Scenarios – Uses Python’s random library to produce dynamic, varied outcomes across simulations.
Requirements
How to Run
git clone https://github.com/joeseverino/football-score-simulator/blob/main/football.py