A vampire survivors-style idle game where you earn XP from real coding activity. Code to conquer!
Vibe Coder is an idle survival game that rewards you for coding. Connect it to your development workflow and watch your character grow stronger as you write code. Every tool call, every prompt, every commit powers up your in-game character.
While you code, your character:
- ๐ฏ Hunts enemies intelligently
- ๐ก๏ธ Evades when overwhelmed
- ๐ฌ Comments on your coding with 80+ unique quotes
- โ๏ธ Auto-attacks with your equipped weapons
- ๐ Levels up from your real coding XP
- HUNT Mode - Actively moves toward enemies
- EVADE Mode - Kites when low HP or swarmed
- IDLE Mode - Wanders when area is clear
- Mode-specific quotes and visual indicators
| Type | Examples |
|---|---|
| Classic | Bug, Glitch, Memory Leak, Syntax Error |
| Coding | Segfault, Dependency Hell, Git Conflict, CORS Error |
| AI-Themed | Hallucination, Token Overflow, Prompt Injection, Mode Collapse |
- Stack Overflow (Wave 20) - Spawns minions
- Null Pointer (Wave 40) - Teleports
- Memory Leak Prime (Wave 60) - Splits on damage
- Kernel Panic (Wave 80) - Enrages at low HP
| Category | Count | Examples |
|---|---|---|
| Ranged | 9 | Basic, Spread, Pierce, Homing, Freeze |
| Melee | 4 | Sword, Spear, Boomerang, Kunai |
| Rare | 3 | rm -rf, sudo, Fork Bomb |
| Legendary | 3 | Hunter's Warglaive, Void Reaper, Celestial Blade |
| Evolved | 10 | Laser Beam, Chain Lightning, Blizzard |
Debug Zone โ Memory Banks โ Network Layer โ Kernel Space โ Cloud Cluster โ Singularity
Persistent buffs: Damage, Health, Speed, Attack Rate, XP Gain, Crit Chance, Duration
- 5 procedural synthwave music tracks
- 13+ sound effects (weapons, hits, pickups)
- Master/SFX/Music volume controls
- Coding reactions: "Code go brrrr", "10x developer mode"
- AI-specific: Claude, Cursor, Gemini, Codex reactions
- Time-based easter eggs for late night coding
| Key | Action |
|---|---|
| WASD / Arrows | Move |
| ESC / P | Pause |
| M | Toggle Music |
| SPACE | Manual XP (offline mode) |
| G | Secret: Unlock Hunter's Warglaive |
Press SPACE to manually gain XP, or connect the hooks for real coding rewards!
# Install dependencies
npm install
# Start the game
npm run dev
# (Optional) Start XP server for live coding rewards
npm run serverOpen http://localhost:5173 in your browser.
Run Vibe Coder as a native desktop app with system tray integration!
Check the Releases page for pre-built binaries:
- macOS:
.dmginstaller (Universal - Intel + Apple Silicon) - Windows:
.exeinstaller - Linux:
.AppImageor.deb
- System Tray - Lives in your menu bar, always accessible
- Built-in XP Server - No separate server needed
- 4 Window Modes - Floating, Corner Snap, Desktop Widget, Mini HUD
- Global Shortcuts -
Cmd/Ctrl+Shift+Vtoggle,Cmd/Ctrl+Shift+Wcycle modes - Rich Tray Menu - See game stats at a glance
# Development mode (hot reload)
npm run electron:dev
# Build distributable
npm run electron:buildThe desktop app includes a built-in WebSocket server on port 3001, so Claude Code hooks connect automatically!
Connect Vibe Coder to Claude Code for real XP gains while coding!
Note: The online demo doesn't support live XP (requires local server). For the full experience, run locally with hooks connected.
Quick Setup:
- Clone the repo and run
npm install - Start the XP server:
npm run server - Copy
hooks/on-prompt.shto~/.claude/hooks/ - Start the game:
npm run dev - Code normally - XP flows into the game automatically!
๐ Full Setup Guide - Detailed instructions, troubleshooting, custom integrations
| Event | XP |
|---|---|
| Tool Use | +10 |
| Response | +5 |
| Message | +10 |
The character reacts in real-time to your coding activity with speech bubbles and intelligent auto-play!
vibe-coder/
โโโ src/
โ โโโ main.js # Game config, upgrades, legendaries
โ โโโ scenes/
โ โ โโโ BootScene.js # Procedural texture generation
โ โ โโโ TitleScene.js # Menu, upgrades, weapon gallery
โ โ โโโ ArenaScene.js # Main gameplay, enemies, bosses
โ โโโ systems/ # Game systems (save, rebirth, shrines)
โ โโโ utils/
โ โโโ audio.js # Procedural sound system
โ โโโ socket.js # WebSocket XP client
โโโ electron/ # Desktop app wrapper
โ โโโ main.js # Electron main process
โ โโโ preload.js # IPC bridge
โ โโโ server.js # Built-in WebSocket server
โ โโโ tray.js # System tray integration
โ โโโ windows.js # Window mode management
โโโ server/ # Standalone XP server
โโโ hooks/ # Claude Code hooks
โ โโโ on-prompt.sh
โโโ index.html
Ultra-rare permanent unlocks that persist forever:
| Legendary | Drop Rate | Effect |
|---|---|---|
| Hunter's Warglaive | 0.01% | Twin spinning blades |
| Void Reaper | 0.05% | Soul-consuming scythe |
| Celestial Blade | 0.03% | Triple starlight orbitals |
- Phaser 3 - Game engine
- Vite - Build tool & dev server
- Electron - Desktop app wrapper
- Web Audio API - Procedural sound generation
- Canvas API - Procedural graphics (no external assets!)
- WebSocket - Real-time XP streaming
- Node.js - XP server backend
- electron-builder - Cross-platform packaging
See CHANGELOG.md for full version history.
Built with Claude Code - the AI coding assistant.
Hunter's Warglaive artwork inspired by Luu.
Code to Conquer! ๐