<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Srishti Rathi</title>
    <description>The latest articles on DEV Community by Srishti Rathi (@srishti_rathi_46c959f261b).</description>
    <link>https://dev.to/srishti_rathi_46c959f261b</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3873843%2Fa0fd0753-f49d-436e-b487-e9be860e489b.png</url>
      <title>DEV Community: Srishti Rathi</title>
      <link>https://dev.to/srishti_rathi_46c959f261b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/srishti_rathi_46c959f261b"/>
    <language>en</language>
    <item>
      <title>How I Built a Real-Time AI Stadium Intelligence Platform Using Only Prompts — PromptWars Virtual 2026</title>
      <dc:creator>Srishti Rathi</dc:creator>
      <pubDate>Sat, 11 Apr 2026 16:51:49 +0000</pubDate>
      <link>https://dev.to/srishti_rathi_46c959f261b/how-i-built-a-real-time-ai-stadium-intelligence-platform-using-only-prompts-promptwars-virtual-2bco</link>
      <guid>https://dev.to/srishti_rathi_46c959f261b/how-i-built-a-real-time-ai-stadium-intelligence-platform-using-only-prompts-promptwars-virtual-2bco</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foxehq5k3b9zshd9epi1b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foxehq5k3b9zshd9epi1b.png" alt=" " width="800" height="347"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsof66pvypnz8blelqwss.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsof66pvypnz8blelqwss.png" alt=" " width="800" height="347"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe42ntviynrvrtc13n38m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe42ntviynrvrtc13n38m.png" alt=" " width="800" height="346"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flhjds9kqa46h4ggpnkju.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flhjds9kqa46h4ggpnkju.png" alt=" " width="800" height="338"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9b0nuq50lfku9l7dsjxu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9b0nuq50lfku9l7dsjxu.png" alt=" " width="800" height="345"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Every IPL match day, 33,000+ fans pack into stadiums with &lt;br&gt;
zero real-time intelligence. Staff coordinate manually via &lt;br&gt;
WhatsApp. Wait times at food courts are pure guesswork, and &lt;br&gt;
crowd surges go completely undetected until panic sets in. &lt;/p&gt;

&lt;p&gt;After the RCB stampede tragedy that killed 11 fans during &lt;br&gt;
their IPL title celebrations, I realized modern Indian &lt;br&gt;
stadiums are operating blindly. There is no single screen &lt;br&gt;
showing where crowds are building. No early warning when a &lt;br&gt;
queue crosses 20 minutes. No unified view of where your 18 &lt;br&gt;
staff members actually are.&lt;/p&gt;

&lt;p&gt;I wanted to build a proactive platform that could change &lt;br&gt;
this — and do it entirely through prompt engineering.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built — ArenaIQ
&lt;/h2&gt;

&lt;p&gt;ArenaIQ is a real-time, AI-driven crowd intelligence and &lt;br&gt;
operations dashboard for modern sports stadiums. It monitors &lt;br&gt;
crowd density across every stand, predicts queue surges &lt;br&gt;
before they happen, tracks staff positions globally, and &lt;br&gt;
auto-flags security incidents — all feeding into a single &lt;br&gt;
dark-themed command center built in 13 days using only &lt;br&gt;
Google AntiGravity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live demo:&lt;/strong&gt; [YOUR CLOUD RUN URL]&lt;br&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; [YOUR GITHUB URL]&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;3D Stadium Heatmap&lt;/strong&gt;&lt;br&gt;
A bespoke, rotating Three.js stadium bowl where each &lt;br&gt;
physical section pulses dynamically from green (safe) to &lt;br&gt;
red (critical) based on the live data engine's occupancy &lt;br&gt;
percentages. The geometry itself is venue-agnostic — &lt;br&gt;
segment count adjusts automatically based on how many &lt;br&gt;
zones the venue has configured.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Incident Command Center&lt;/strong&gt;&lt;br&gt;
The most operationally critical feature. A high-priority &lt;br&gt;
live feed tracking security, medical, and crowd incidents &lt;br&gt;
complete with severity tagging (Critical / High / Medium / &lt;br&gt;
Low), active elapsed timers, staff assignment, and full &lt;br&gt;
resolution workflows. New incidents trigger a notification &lt;br&gt;
bell animation and a real-time toast alert. This is the &lt;br&gt;
feature that directly addresses the safety gap exposed by &lt;br&gt;
the Bengaluru tragedy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Queue Operations Simulator&lt;/strong&gt;&lt;br&gt;
Real-time tracking of wait times across all entry gates, &lt;br&gt;
food courts, and restrooms. Each queue card shows the &lt;br&gt;
current wait in large color-coded numbers (green under &lt;br&gt;
5 min, amber 5–15 min, red above 15 min), a Recharts &lt;br&gt;
sparkline of the last 10 data points, and an AI-generated &lt;br&gt;
recommendation — e.g. "Open Lane 2 immediately — wait &lt;br&gt;
exceeds 20 min."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interactive SVG Staff Mapping&lt;/strong&gt;&lt;br&gt;
A visual blueprint mapping 18+ active staff members across &lt;br&gt;
the venue. Each staff member has a role badge (Security, &lt;br&gt;
Medic, Usher, Crowd Control), a live status indicator &lt;br&gt;
(Active / Responding / On Break / Standby), and a one-click &lt;br&gt;
dynamic reassignment dropdown. The map updates in real time &lt;br&gt;
as staff statuses change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"Ask ArenaIQ" Fan Chatbot&lt;/strong&gt;&lt;br&gt;
An NLP-style conversational assistant built for fans. Ask &lt;br&gt;
it "shortest food queue right now," "where is Gate 3," &lt;br&gt;
"what's the score," or "I need medical help" — and it &lt;br&gt;
responds using live venue data. The emergency response &lt;br&gt;
flow dispatches the nearest medic's name and location &lt;br&gt;
instantly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Venue-Agnostic Admin Engine&lt;/strong&gt;&lt;br&gt;
The entire platform runs on a dynamic JSON config schema. &lt;br&gt;
A 5-step onboarding wizard lets any stadium manager &lt;br&gt;
configure their venue — zone names, gate count, staff &lt;br&gt;
roles, match details, brand colors — in under 5 minutes. &lt;br&gt;
Three one-click presets are built in: Wankhede Stadium &lt;br&gt;
(Mumbai), Arun Jaitley Stadium (Delhi), and M Chinnaswamy &lt;br&gt;
Stadium (Bengaluru). Switching presets instantly rewrites &lt;br&gt;
the global state — brand colors, zone geometry, AI &lt;br&gt;
parameters, and chatbot knowledge all reconfigure in under &lt;br&gt;
one second without a page reload.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Prompt Strategy
&lt;/h2&gt;

&lt;p&gt;I used a "layered architecture prompting" approach. Instead &lt;br&gt;
of asking the AI to build an entire dashboard at once — &lt;br&gt;
which produces monolithic, unmaintainable code — I &lt;br&gt;
structured every prompt with a single clear responsibility.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Layer 1 — Data architecture first:&lt;/strong&gt;&lt;br&gt;
"Build a central mockDataEngine.js that simulates 12 &lt;br&gt;
stadium zones updating every 3 seconds with realistic &lt;br&gt;
occupancy and queue fluctuations via an EventEmitter &lt;br&gt;
pattern. All data must flow through a single VenueContext &lt;br&gt;
provider."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Layer 2 — AI insight logic second:&lt;/strong&gt;&lt;br&gt;
"Build a rule-based aiInsightEngine.js that scans live &lt;br&gt;
zone data and generates specific, actionable alerts when &lt;br&gt;
occupancy exceeds 85%, when queue wait exceeds 20 minutes, &lt;br&gt;
or when staff count in a high-density zone drops below 2. &lt;br&gt;
All alert strings must reference actual zone and staff &lt;br&gt;
names from config — no generic placeholders."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Layer 3 — UI last:&lt;/strong&gt;&lt;br&gt;
"Now build the visual dashboard components that hook into &lt;br&gt;
VenueContext and render the data using Framer Motion &lt;br&gt;
staggered entry animations and Recharts sparklines. Every &lt;br&gt;
metric card number must animate from 0 to its value on &lt;br&gt;
mount."&lt;/p&gt;

&lt;p&gt;This strict separation meant the AI agent never confused &lt;br&gt;
data logic with UI logic. The result was enterprise-grade &lt;br&gt;
component architecture that a senior developer would &lt;br&gt;
recognise as production-quality.&lt;/p&gt;

&lt;p&gt;The most powerful single prompt in the entire project was &lt;br&gt;
the venue-agnostic refactor instruction:&lt;/p&gt;

&lt;p&gt;"Search every component for hardcoded venue strings. &lt;br&gt;
Replace all of them with references to VenueConfig from &lt;br&gt;
context. Then inject config.primaryColor as a CSS custom &lt;br&gt;
property on :root so the entire theme updates when a new &lt;br&gt;
venue loads."&lt;/p&gt;

&lt;p&gt;That one prompt turned a Wankhede-only demo into a &lt;br&gt;
platform that works for every stadium in India.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Venue-Agnostic Architecture — Why It Matters
&lt;/h2&gt;

&lt;p&gt;Most hackathon projects are demos. ArenaIQ is a platform.&lt;/p&gt;

&lt;p&gt;The key technical decision was isolating all venue-specific &lt;br&gt;
data into a single global VenueConfig object living in &lt;br&gt;
React Context. Every component — the 3D model, the AI &lt;br&gt;
engine, the chatbot, the staff map — reads from this config &lt;br&gt;
instead of hardcoded values.&lt;/p&gt;

&lt;p&gt;When an admin switches from Wankhede to Chinnaswamy, three &lt;br&gt;
things happen simultaneously in under 100 milliseconds:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;CSS custom properties update on :root — the entire 
color theme shifts from cyan to RCB red instantly&lt;/li&gt;
&lt;li&gt;The mock data engine reinitialises with new zone names, 
gate names, and staff count&lt;/li&gt;
&lt;li&gt;The 3D stadium geometry rebuilds with the correct 
number of segments for the new zone count&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is the difference between a visualization and a &lt;br&gt;
product. Any stadium in India can be onboarded in under &lt;br&gt;
5 minutes with zero code changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;React 18 + Vite (fast client-side SPA)&lt;/li&gt;
&lt;li&gt;Tailwind CSS with CSS custom properties for instant 
theme switching&lt;/li&gt;
&lt;li&gt;Three.js + React Three Fiber (live 3D telemetry 
rendering)&lt;/li&gt;
&lt;li&gt;Framer Motion (staggered mount animations, layout 
transitions)&lt;/li&gt;
&lt;li&gt;Recharts (queue sparklines and occupancy trend charts)&lt;/li&gt;
&lt;li&gt;Lucide React (iconography)&lt;/li&gt;
&lt;li&gt;React Hot Toast (real-time incident notifications)&lt;/li&gt;
&lt;li&gt;Google AntiGravity (AI-powered agentic development)&lt;/li&gt;
&lt;li&gt;Google Cloud Run (containerised serverless deployment)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;Building with Google AntiGravity completely changed how I &lt;br&gt;
think about software development. The skill is no longer &lt;br&gt;
"write the code" — it is "architect the intent." The &lt;br&gt;
developers who will win the next decade are the ones who &lt;br&gt;
can decompose a complex system into layered, unambiguous &lt;br&gt;
prompts and then verify the output with the same rigour &lt;br&gt;
they would apply to a code review.&lt;/p&gt;

&lt;p&gt;The biggest lesson: specificity wins. "Build a dashboard" &lt;br&gt;
produces garbage. "Build a Queue Monitor page with 10 &lt;br&gt;
cards in a 2-column grid where each card shows wait time &lt;br&gt;
in 48px JetBrains Mono font, color-coded green/amber/red, &lt;br&gt;
with a Recharts sparkline of the last 10 data points" &lt;br&gt;
produces production code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real-World Impact
&lt;/h2&gt;

&lt;p&gt;ArenaIQ addresses a documented, urgent problem. After the &lt;br&gt;
Bengaluru stampede, the Rajasthan Royals commissioned a &lt;br&gt;
700-page safety audit of their own stadium. KSCA added &lt;br&gt;
new entry gates and widened concourses specifically for &lt;br&gt;
IPL 2026. Stadium operators across India are actively &lt;br&gt;
spending money on this exact problem right now.&lt;/p&gt;

&lt;p&gt;ArenaIQ demonstrates what the solution looks like — &lt;br&gt;
a proactive, AI-driven command center that gives &lt;br&gt;
operations teams the visibility they currently lack.&lt;/p&gt;

&lt;p&gt;Built with Google AntiGravity for PromptWars Virtual 2025.&lt;/p&gt;

</description>
      <category>promptwars</category>
      <category>googlecloud</category>
      <category>buildwithai</category>
      <category>react</category>
    </item>
  </channel>
</rss>
