The challenge
Fantasy cricket players must process enormous volumes of player statistics, pitch conditions, venue win rates, toss outcomes, and injury alerts — all within a shrinking window before team lock-in. Existing tools offer generic recommendations that ignore last-minute playing XI changes or batting-first vs. chasing dynamics at specific venues. There was no single mobile-first platform combining AI-generated team suggestions, post-toss updates, multi-source live data, and tiered subscription access — leaving players guessing and consistently missing their best lineup decisions.
What we built
We built Cricket Genius on React Native for cross-platform iOS and Android delivery, backed by a Node.js and Python backend. GPT-3.5 and GPT-4 models are fine-tuned with custom cricket prompts and orchestrated via LangChain chaining to analyze pitch conditions, venue batting-first vs. chasing win percentages, and recent top-performer data. Live match data is pulled from SportRadar, CricAPI, and Cricsheet, supplemented by ESPN, Cricinfo, and Cricbuzz to cover every league available on Dream11. Firebase Cloud Messaging handles real-time alerts, and Razorpay powers the subscription billing layer.
The AI Team Generator offers two modes: Quick Team generates up to 10 teams across batting-heavy, bowling-heavy, all-rounder, and mixed categories, while Custom Team lets users manually set captain, vice-captain, inclusions, exclusions, and team count. After the toss, the Playing XI refreshes automatically — non-playing players are highlighted in red within team previews, and replacement suggestions are surfaced before lock-in. A React-based admin panel provides user management, payment ledger tracking, and KPI dashboards. A Next.js marketing website and a balance report for AI model performance tracking complete the full product suite.
Key features
Our approach
Before writing a line of application code, we mapped the full AI decision logic — defining how GPT prompts would ingest pitch conditions, venue win-rate data, and player form signals. We designed the LangChain chaining architecture to sequence these inputs cleanly, ensuring the model produced consistent, cricket-specific team outputs rather than generic AI responses.
We evaluated and integrated multiple live data providers — SportRadar, CricAPI, and Cricsheet — alongside scrape-friendly sources like ESPN, Cricinfo, and Cricbuzz. The backend was structured so that post-toss Playing XI updates trigger automatic team refreshes, non-playing player flags, and Firebase push notifications, all within the tight pre-lock-in window that fantasy players depend on.
We delivered the complete product surface: React Native mobile app, React admin panel with payment ledger and KPI dashboards, and a Next.js marketing website. Razorpay subscription tiers, multi-method authentication (email OTP, Google, Apple), guest mode, match schedule screens, My Matches tracking, and a balance report for AI performance monitoring were all scoped, designed, and shipped across a 22–23 week timeline.
