How ajith-poojari/cric-scorer works
Scoreboard is a single-page live cricket scorer. The documented workflow is: a scorer sets up a match and records deliveries; viewers join with its match code and see updates, while results remain hidden until completion. The README also describes scoring rules, bowling constraints, substitutions, run-outs, and undo. The tree contains no source excerpts, so implementation details and any backend or transport are not shown; relationships below reflect documented behavior only.
Main entry points: index.html Scoring engine
Components 14
Match setup
- Match setup
index.html - Teams and toss
index.html - Match code
index.html
Scoring
- Scoring engine
index.html - Delivery log
index.html - Bowling rules
index.html - Dismissals and subs
index.html - Undo
index.html - Scorecard
index.html
Live viewing
- Live sync
index.html - Viewer scoreboard
index.html - Finished-match results
index.html
Other components
- Scorer
- Viewer
Connections 14
- Scorer → Match setup: starts match
README.md - Match setup → Teams and toss: sets up
README.md - Match setup → Match code: gets code
README.md - Scorer → Scoring engine: records deliveries
README.md - Scoring engine → Delivery log: logs deliveries
README.md - Scoring engine → Bowling rules: enforces rules
README.md - Scoring engine → Dismissals and subs: handles events
README.md - Scorer → Undo: undoes scoring
README.md - Delivery log → Scorecard: calculates stats
README.md - Scoring engine → Live sync: updates match
README.md - Viewer → Match code: enters code
README.md - Match code → Live sync: joins match
README.md - Live sync → Viewer scoreboard: syncs updates
README.md - Finished-match results → Viewer scoreboard: reveals on finish
README.md