Inspiration
Most coding platforms teach you to write code from scratch. Real engineering is often the opposite: read unfamiliar code, find what broke, and fix it fast. BugBounty-AI turns that skill into a competitive debugging arena.
What it does
BugBounty-AI gives developers intentionally broken JavaScript with realistic bug reports and a countdown. Players debug in Monaco, execute tests, use progressive AI hints, submit fixes, and earn XP, streaks, and an AI-generated senior code review.
How we built it
Built with Next.js 15, React 19, TypeScript, Monaco Editor, Web Workers, Zod, and Gemini. Code executes inside isolated Web Workers with timeouts, while server-side Gemini endpoints generate challenges, Socratic hints, and post-solve reviews. Curated fallback challenges keep the entire loop playable without AI.
Challenges we ran into
The hardest part was safely executing arbitrary JavaScript while supporting async code, runtime failures, console output, hidden tests, and execution timeouts. Another challenge was making AI-generated problems deterministic and genuinely solvable, so every Gemini response is schema-validated before entering the game.
Accomplishments that we're proud of
I built a complete bug → debug → test → submit → review → reward loop instead of an AI wrapper or static coding demo. The execution engine is real, the tests actually run, hints are progressive, scoring is transparent, and the product remains functional when Gemini is unavailable.
What we learned
AI works better here as an adaptive challenge designer and mentor, not an answer generator. Combining deterministic execution with generative AI made the experience both reliable and dynamic.
What's next for BugBounty-AI
Next: server-authoritative leaderboards, multiplayer debugging races, Supabase authentication, replayable code diffs, and new TypeScript, React, and Node.js bounty packs—turning BugBounty-AI into a competitive training ground for real-world debugging.
Built With
- gemini
- monaco-editor
- nextjs
- react19
- typescript
- web-workers
- zod
Log in or sign up for Devpost to join the conversation.