A fast-paced Human vs AI prompt battle game
A web-first AI game where players must break hidden model restrictions using only clever prompting โ combining reasoning, creativity, and time pressure in a competitive 1v1 format.
Think you're good at prompt engineering? Can you break the AI before time runs out?
- Can you break the AI in under 60 seconds?
- Can you do it without obvious tricks?
- Can you beat Hard mode consistently?
๐ Share your best prompts.
- โฑ๏ธ Beat the AI in under 60 seconds
- ๐ง Outsmart hidden restrictions
- ๐ฏ Win without obvious tricks
- ๐ฅ Master Hard mode consistently
๐ Play now: https://breakmyguard.vercel.app/
- โฑ๏ธ 60โ75 second rounds of prompt battles
- ๐ค AI operates under hidden restrictions
- ๐งฉ Force a real slip without knowing the rule
- ๐ฏ Dynamic difficulty (Medium โ Hard)
- ๐งช Dual-layer slip detection (rules + LLM validation)
- ๐ Stats-only persistence (no chat logs stored)
- Skill-based prompt engineering
- Fast replayability
- Immediate feedback
- Addictive game loop
- A hidden restriction is generated server-side
- The AI must follow it without revealing it
- You try to manipulate, trick, or pressure the AI
- A dual validation system detects if the rule is broken
- You win if the AI slips โ otherwise, the guard holds
- Hidden rule generation (server-side)
- Prompt-based attack system
- Time pressure (60โ75s)
- Slip detection engine
- Dynamic difficulty scaling
| Layer | Technology |
|---|---|
| Framework | Next.js |
| Backend | Supabase |
| AI | LLM-based restriction enforcement & slip detection |
| State | Redis / In-memory |
| Styling | Tailwind CSS |
| Deployment | Vercel |
Clean modular architecture:
app/ # App router pages
components/ # UI & game components
hooks/ # Game logic hooks
lib/ # Core AI + rules + validation
pages/api/ # Server APIs
migrations/ # Supabase schema
scripts/ # Utilities
- Server-only restriction generator
- Ephemeral round state (no logs)
- Real-time gameplay loop
- Anti-spam protection
- Node.js
- Supabase project
- Groq API key
git clone https://github.com/raahu1l/Breakmyguard.git
cd Breakmyguard
npm install
npm run devNEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
GROQ_API_KEY=
- No chat logs stored
- Only stats persisted
- System prompts server-side only
- Secure against prompt leakage
Break My Guard explores:
- AI alignment & constraint enforcement
- Prompt engineering under pressure
- Real-time validation systems
- Human vs AI interaction design
This project is not just a game โ it is an experiment in AI behavior and control systems.
- UI polish
- Leaderboards
- Multiplayer modes
- Mobile optimization
Developed with the assistance of AI tools to accelerate development, debugging, and system design.
Rahul Walawalkar
๐ง walawalkarrahul729@gmail.com
๐ https://github.com/raahu1l
Built with โค๏ธ ยท Star โญ if you find it useful


