I built a robust backend architecture using NestJS and Supabase PostgreSQL. The system integrates advanced AI specifically designed to hydrate the game's strict, mathematical simulation events with natural language.
To ensure the game felt alive, I engineered an AI-driven commentary template generation pipeline, where the LLM contextualizes the exact state of the match (e.g., pitch conditions, bowler type, batter aggression, and shot control) into dynamic prose.
Additionally, I built an automated, globally synchronized virtual economy engine that manages daily player generation, squad contracts, and live bidding wars, utilizing secure database transactions to handle high-frequency auction concurrency.