IPL Predictor
A match-day prediction app for Pransh’s IPL 2026 campaign: pick the winner and Man of the Match, earn points, keep a streak, collect badges.
An installable web app (PWA) built for Pransh to run during the IPL 2026 season. Fans pick each match’s winner and Man of the Match before it locks, then come back to see what they scored, keep their streak going and unlock badges. An admin panel confirms results, and a five-phase settlement engine scores every pick and rebuilds each fan’s stats.
Client delivery. The product was designed and engineered as studio work for the team that owns it.
Match day
Two picks a match, locked before the first ball.
Fans can look through the home page, Today’s Matches and past results without signing in. To predict, they open a match, sign in through Clerk and make two picks: the team they think will win, then the Man of the Match from either squad, with a search box for long lists. Each card counts down to its lock, five minutes before the scheduled start, and the server rejects a late pick even if the screen hasn’t caught up.
- Matches and results open to browse before sign-in
- Man of the Match chosen from that match’s squads
- Lock enforced on the server, not just the countdown

The habit
Points, streaks and badges bring fans back.
After each match a fan sees the result beside their pick and what it earned: 10 points for the right winner, 20 for the right Man of the Match. Points add up to XP and seven levels, shown as a ring on the profile next to accuracy for both picks. Streaks count consecutive match days with a prediction; days with no completed match, or only a voided one, are skipped instead of breaking the run. Ten badges reward a first pick, 3-, 7- and 14-day streaks, perfect predictions, accuracy, points and 25 predictions.
- Winner and Man of the Match accuracy on the profile
- Current and best streak, counted in India time
- Badges in Common, Rare and Epic tiers

The season
A full season loaded before the first match.
All 70 league-stage fixtures, the ten real squads (250 players) and about 3,500 match-to-player links behind the Man of the Match picker were loaded before the season. A daily sync with the SportMonks cricket API, for fixtures and Playing XIs, was built and scheduled, with its activation deferred at launch. The season runs from an admin panel: create and edit matches, enter results, void a washed-out game with a reason, rerun settlement, and see users and badge holders so rewards can be handled offline. Every admin action is written to an audit log.
- Real IPL 2026 schedule and squads
- Admin role checked on every admin action
- Badge and user lists for offline rewards

Under the hood
Settlement in five phases, safe to run twice.
Confirming a result, or voiding a match, starts a five-phase pipeline on Convex. One: score the match’s predictions in batches of 200, or mark them void. Two: rebuild each affected fan’s points, accuracy, perfect picks and streaks from their settled predictions, rather than adding to old totals. Three: check badge rules and award new badges. Four: rebuild the daily, weekly and season leaderboard snapshots, ranked by points, then winner accuracy, then perfect picks, then who joined first. Five: queue result and badge notifications, with a key that stops duplicates. Each phase schedules the next and records its progress on a settlement run, so a failure shows exactly which phase stopped. A rerun resets the match’s predictions and rebuilds everything from them, so an admin can correct a wrong result without double-counting.
- Batched: 200 predictions or 50 fans per step
- Rerunnable: totals are rebuilt, never incremented
- Leaderboard snapshots and notifications are already produced, though the season build shipped without a leaderboard screen or push delivery

Explore adjacent case studies.
If this build is close to what you have in mind, these projects show the range around it.



