How gowthamvelusamy/cricket-crazies-winwizard-ipl2026 works
Cricket Crazies is a static IPL prediction dashboard. A friend enters through phone-number authentication, views real match data in a transposed team/match matrix, cycles hypothetical outcomes, and compares actual with predicted standings; predictions can be exported as a JPEG. The app.js excerpt shows data fetching, caching, mock-data processing, prediction updates and image capture. Other major capabilities are documented in the README, but their detailed implementation is not sampled, so those links cite the README.
Main entry points: app.js Match data fetch · index.html Dashboard shell
Components 17
Access and settings
- Phone authentication
app.js - API settings
app.js - Browser storage
Match data
- Match data fetch
app.js - CricAPI
- Match cache
app.js - Mock match data
app.js - Match processing
app.js
Predictions and standings
- Prediction matrix
app.js - Prediction state
app.js - Standings calculation
app.js
Dashboard and export
- Dual standings
app.js - Dashboard shell
index.html - Theme toggle
app.js - Image export
app.js
Other components
- Friend
- html2canvas
Connections 16
- Friend → Phone authentication: enters phone
README.md - Phone authentication → Dashboard shell: unlocks dashboard
README.md - API settings → Match data fetch: saves config; refreshes
app.js - Match data fetch → CricAPI: requests series data
app.js - Match data fetch → Match cache: stores response
app.js - Match data fetch → Match processing: processes fetched matches
app.js - Mock match data → Match processing: processes mock matches
app.js - Prediction matrix → Prediction state: updates prediction
app.js - Prediction state → Browser storage: persists predictions
app.js - Standings calculation → Prediction state: reads predictions
app.js - Dual standings → Standings calculation: compares actual and predicted
README.md - Dashboard shell → Prediction matrix: presents match matrix
README.md - Dashboard shell → Dual standings: presents standings
README.md - Theme toggle → Browser storage: persists theme
app.js - Image export → html2canvas: captures dashboard
app.js - Friend → Prediction matrix: cycles outcomes
README.md