How tahir-khokhar/universal-sports-scoreboard-system works
This is a Django sports-scoreboard application, with cricket as its detailed live-scoring workflow. A user creates a match and teams, records the toss, submits deliveries through the live scoring controller, and views refreshed match state and a scoreboard; cricket logic handles innings, strike, wickets, and statistics. The generic scoreboard also supports match history and score updates. The README documents several capabilities beyond the sampled excerpts; those are represented at subsystem level where exact implementation paths are not established. Some UI-to-endpoint wiring is therefore shown as unverified.
Main entry points: cricket/views.py Cricket match views · scoreboard/views.py Scoreboard views · scoreboard/models.py Match record · cricket/models.py Cricket records
Components 18
Web interface
- Scoreboard routes
scoreboard/urls.py - Cricket routes
cricket/urls.py - Live scoring UI
static/js/cricket_scoring.js - Match pages
Templates/cricket_match_detail.html - Cricket scoreboard
Templates/cricket_scoreboard.html - Cricket setup
Templates/create_cricket_match.html
Sports scoreboard
- Scoreboard views
scoreboard/views.py - Match creation
scoreboard/views.py - Match history
scoreboard/views.py
Cricket scoring
- Cricket match views
cricket/views.py - Toss handling
cricket/views.py - Delivery scoring
cricket/views.py - Innings transitions
cricket/views.py - Scoring rules
cricket/scoring.py
Match state
- Match record
scoreboard/models.py - Cricket records
cricket/models.py - SQLite database
Universal_Sports_Scoreboard_System/settings.py
Other components
- User
Connections 20
- User → Scoreboard routes: uses
- Scoreboard routes → Scoreboard views: routes
scoreboard/urls.py - Cricket routes → Cricket match views: routes
cricket/urls.py - Scoreboard views → Match record: reads/writes
scoreboard/views.py - Scoreboard views → Cricket records: uses
scoreboard/views.py - Cricket match views → Match record: uses
cricket/views.py - Cricket match views → Cricket records: reads/writes
cricket/views.py - Cricket match views → Scoring rules: calls
cricket/views.py - Live scoring UI → Cricket match views: posts scores
README.md - Live scoring UI → Cricket match views: refreshes state
README.md - Scoreboard views → Match creation: handles
scoreboard/views.py - Scoreboard views → Match history: serves
scoreboard/urls.py - Cricket match views → Toss handling: handles
cricket/views.py - Cricket match views → Delivery scoring: handles
cricket/views.py - Cricket match views → Innings transitions: starts/ends
cricket/views.py - Cricket match views → Match pages: renders
- Cricket match views → Cricket scoreboard: renders
cricket/views.py - Cricket match views → Cricket setup: renders
- Match record → SQLite database: persists in
- Cricket records → SQLite database: persists in