IPLMind (IPL Genius)
Akinator-style neural predictor guessing IPL cricket legends through dynamic entropy reduction

IPLMind (IPL Genius)
Akinator-style neural predictor guessing IPL cricket legends through dynamic entropy reduction

How It Connects
IPLMind combines a 15-year IPL historical dataset (spanning player statistics, bowling economies, strike rates, tournament franchises, and auction records) with an adaptive decision-tree entropy algorithm. As the user responds to binary/scalar questions ("Has your player captained an IPL franchise?", "Is he a left-arm spinner?"), the engine dynamically recalculates Information Gain across the remaining candidate pool, asking the optimal discriminative question next. The frontend is built with Next.js, featuring animated state machines, audio feedback, and celebration reveals.
Components
System Components
How It Works
Game Initialization
User mentally picks an IPL player and begins the guessing sequence.
Entropy Evaluation
Calculates Information Gain for all unanswered questions across remaining candidates.
User Feedback Evaluation
User selects "Yes", "No", "Don't Know", or "Probably".
Candidate Pool Reduction
Multiplies player probabilities by likelihood factor and renormalizes vector.
Prediction Reveal
Presents dynamic player card with photo, IPL team badge, and career achievements.
Game Initialization
User mentally picks an IPL player and begins the guessing sequence.
Entropy Evaluation
Calculates Information Gain for all unanswered questions across remaining candidates.
User Feedback Evaluation
User selects "Yes", "No", "Don't Know", or "Probably".
Candidate Pool Reduction
Multiplies player probabilities by likelihood factor and renormalizes vector.
Prediction Reveal
Presents dynamic player card with photo, IPL team badge, and career achievements.
Technical Breakdown
Granular architectural layers, runtime dependencies, and audited production decisions.
- Next.js with responsive Tailwind stylingcopy
- Framer Motion spring physics for question transitions and confidence meterscopy
- Sound synthesis using Web Audio API for arcade-like feedbackcopy
- Client-side execution for instant 0ms question transitions with no server lagcopy
- Vercel Edge runtime for static payload distributioncopy
Engineering Tradeoffs & Key Decisions
Why this architecture over alternativesClient-Side Decision Tree over Server Roundtrips
Executed the entire entropy algorithm in the browser rather than on an API server.
Delivers instantaneous response times (0ms latency between questions) and zero server hosting costs.
Fuzzy Bayesian Confidence over Strict Boolean Pruning
Allowed probabilistic weights rather than outright eliminating candidates on negative answers.
Prevents game failure when users make factual errors about a player debut year or minor team history.