A mini RPG battle that runs inside VS Code — your coding actions control a wizard battling a dragon! Type code to cast spells, gain XP, level up, and defeat enemies while you work.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
A living RPG battle inside your VS Code sidebar — your code IS the combat.
Type to attack. Save to shield. Break code to trigger a critical hit. The Wizard never rests while you work.
✨ Features
⌨️ Typing = Attacking — Every keystroke fires a spell at the Dragon. Write more code, cast more spells.
💾 Save File = Shield — Hit Ctrl+S to raise a magic shield that blocks the Dragon's next attack completely.
⚡ Code Errors = Critical Hit — A red diagnostic error in your code triggers a massive critical strike on the Dragon (50–100 damage).
🗑️ Deleting Code = Dragon Heals — The Dragon feeds on deleted code. Be careful what you erase!
🌀 Random Spell Variety — The Wizard cycles through 6 different spells (Arcane Bolt, Fireball, Ice Shard, Lightning, Magic Missile, Void Orb), each with unique visuals and damage.
🐉 Dragon Attacks Back — The Dragon has 6 attack moves (Fire Breath, Tail Whip, Claw Slash, Dark Flame, Bite, Wing Gust) that fire automatically on a timer.
🌗 Time-of-Day System — The game adapts to your real clock! Morning: sun rises, Wizard is empowered (+10% ATK, +20% regen). Evening: Dragon gains +10% ATK. Night: Dragon enters Night Fury mode (+30% ATK, reduced regen). Afternoon is neutral. The sky, stars, sun/moon, and colors all change dynamically.
🔁 Both Sides Regen — The battle never truly ends. Both fighters passively regenerate HP and cross-heal on each hit — fights can last hours.
🏰 Pixel Art Arena — Retro 12×12 pixel art characters, a dynamic day/night castle background with mountains, glowing windows, and CRT scanlines.
📊 Lives in the Explorer Sidebar — Docked just like VS Code Pets, always visible without stealing editor space.
🎖️ XP & Levelling — Gain XP per character typed. Level up to increase your ATK and Max HP.
🚀 Getting Started
Install the extension from the VS Code Marketplace.
Open the Explorer sidebar — the Code Quest RPG panel appears automatically at the bottom.
Or run Code Quest: Start Coding RPG from the Command Palette (Ctrl+Shift+P).
Start typing code — your Wizard attacks!
🎮 How to Play
You do this…
In the game…
Type code in any file
✨ Wizard casts a random spell at the Dragon
Save a file (Ctrl+S)
🛡️ Shield activates — next Dragon attack is blocked