Rewrite the source code of a mind infected by brainrot.
A production-grade browser coding game. Every level is a corrupted mental process. You open a real Monaco editor, rewrite the JavaScript that represents that process, and watch the infection die — or mutate — based on the quality of your code.
Lazy code strengthens the infection. Clean, deliberate code permanently weakens it.
- Next.js 15 (App Router) + TypeScript
- Tailwind CSS + custom clinical design tokens
- Monaco Editor (full VS Code engine)
- Zustand (persisted progress)
- Framer Motion
- Web Worker sandbox for safe player-code execution
- Supabase-ready (auth + cloud saves)
- PWA manifest
```bash npm install npm run dev ```
Open http://localhost:3000.
- Real code evaluation — player code runs in a restricted Web Worker with timeout.
- Focus tracking — leave the tab and the infection gains strength.
- Minimum focus windows — permanent writes require unbroken concentration.
- Infection leakage — residual corruption from earlier levels affects later ones.
- Permanent resistance — long clean sessions grant lasting defense.
- Infinite Scroll Loop
- Novelty Hijack
- Working Memory Leak
- Impulse Interrupt
- Reward Prediction Error
- Attention Fragmentation
- Habit Reinforcement Loop
- Deep Work Collapse
Dark, precise, clinical-tech. Deep blacks, sharp cyan accents, subtle glitch. Zero cartoon. The interface should feel like a real debugging environment that has itself been infected.