🚀 About the Project: PromptHeist – The Ultimate AI Battle Arena
🎯 Inspiration
It began with a realization — people use AI every day, but few truly know how to talk to it. While exploring hackathons and prompt-based challenges, we noticed that prompt engineering was treated like a utility skill — not the creative, competitive, and learnable craft it truly is.
So we asked ourselves:
“What if learning prompt engineering felt like playing an online game?”
That question became the foundation of PromptHeist — a real-time AI battle arena where players compete to craft the smartest, most creative prompts and climb leaderboards powered by AI itself.
⚙️ What We Built
PromptHeist gamifies the art of communication with AI. Players enter live battle rooms, each presenting an AI challenge — for example:
“Generate a tweet that goes viral about space travel,” or “Create an image prompt describing the metaverse in 2050.”
Each participant crafts their best prompt within a 60-second timer, submits it, and watches the AI respond in real-time. Our AI judging system evaluates responses using three weighted metrics — creativity, relevance, and accuracy — producing a composite score:
$$ Score = (0.4 \times Creativity) + (0.3 \times Relevance) + (0.3 \times Accuracy) $$
Players can see their scores update on a live leaderboard, watch their ranks change instantly, and unlock badges for performance consistency.
🧩 Tech Stack Breakdown
Sure — here’s a concise, line-by-line version perfect for Devpost 👇
🧩 Tech Stack
Frontend: React + Vite + TailwindCSS — for a fast, responsive, and aesthetic UI with day/night mode. Backend: Flask / FastAPI (Python) — to handle battles, scoring, and API communication. AI APIs: OpenAI GPT-4o, Claude, and Gemini — for text generation, judging, and dynamic feedback. Database: Firebase / Supabase — to manage users, scores, and real-time leaderboards. Real-time Engine: Socket.io — for live battles, timers, and instant updates.
UI Highlights:
- Dual modes: Day Mode for clarity, Night Mode for battle aesthetics 🌗
- Dynamic leaderboards with animations and instant rank updates
- Smooth transitions for each round and result reveal
Demo Setup: To demonstrate functionality, we included pre-built fake data — mock players, AI responses, and sample battles — simulating real-time gameplay for the judges.
💡 What We Learned
- Designing AI evaluation logic that feels both fair and intelligent
- Managing real-time multiplayer interactions using Socket.io
- Optimizing prompt–response latency for fast, engaging user experience
- Understanding the psychological side of gamified learning — how competition drives creativity
⚔️ Challenges We Faced
- Defining measurable AI creativity and relevance scores
- Synchronizing multiple API calls without exceeding rate limits
- Maintaining consistency between backend scores and frontend visuals
- Building a fluid UI that adapts dynamically during battle transitions
🌟 The Impact
PromptHeist transforms learning AI communication into competitive creativity. It empowers users — students, professionals, and creators — to sharpen their AI literacy through play.
By merging gamification, AI evaluation, and real-time collaboration, PromptHeist redefines how people learn to think with AI, not just use it.
⚡ “In PromptHeist, every round is not just a battle — it’s a lesson disguised as a game.”

Log in or sign up for Devpost to join the conversation.