How soundtrackgeek/footballmanager works
Main Components Identification
a) Core Game Engine Layer:
• main.py at the top as the entry point
• Core simulation modules:
• game_simulation.py
• football_manager.py
• stats.py
• table.py
b) Team Management Layer:
• Team-related modules:
• team_management.py
• tactics.py
• transfer_market.py
• player.py
c) Data Storage Layer:
• Teams folder (JSON files)
• Configuration files (txt and csv)
• fixture_list.json
Component Relationships
a) Data Flow:
• Teams JSON files → team_management.py
• playernames.csv → player.py
• fixture_list.json → fixtures.py
b) Module Dependencies:
• main.py → football_manager.py (primary game loop)
• football_manager.py → game_simulation.py
• game_simulation.py → team_management.py, tactics.py
• team_management.py → player.py, transfer_market.py
Specific Implementation Details
[Game Control]
• main.py
• football_manager.py
[Game Logic]
• game_simulation.py
• fixtures.py
• stats.py
• table.py
[Team Systems]
• team_management.py
• tactics.py
• transfer_market.py
• player.py
[Data Layer]
• Teams/*.json
• fixture_list.json
• playernames.csv
• sponsors.txt
• banks.txt
• commentatorgoals.txt