Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Code QuestNew to Visual Studio Code? Get it now.
Code Quest

Code Quest

TohsakaSu

|
3 installs
| (0) | Free
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.
Copied to clipboard
More Info

Code Quest ⚔️

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

  1. Install the extension from the VS Code Marketplace.
  2. Open the Explorer sidebar — the Code Quest RPG panel appears automatically at the bottom.
  3. Or run Code Quest: Start Coding RPG from the Command Palette (Ctrl+Shift+P).
  4. 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
A red error appears in your code ⚡ Critical hit! 50–100 bonus damage to the Dragon
Delete code (backspace / bulk delete) 💚 Dragon heals from your deleted work
Level up ✨ +1 ATK, +5 Max HP, small HP restore
Dragon's HP hits 0 🏆 Victory! Auto-rematch starts after 4 seconds
Wizard's HP hits 0 💀 Game Over — auto-rematch starts after 4 seconds
Time changes (morning/afternoon/…) 🌗 Sky & balance shift — Wizard strong mornings, Dragon rules nights

The battle is designed to be extremely long — both fighters regen and cross-heal constantly. It's meant to run all day while you code.


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft