Merge & MagicMerge & Magic turns everyday coding activity into a small idle RPG inside VS Code. Work in your editor, let encounters happen, collect gear, lock the pieces you want to keep, and watch your developer-adventurer slowly become less embarrassing in combat. It is intentionally lightweight: no build dashboards, no productivity scoring, no guilt machine. Just a tiny RPG loop living beside your code.
How it works
Activity Log
Risk vs Reward
Start Your Adventure
Features
How It WorksMerge & Magic listens for normal development activity and turns some of it into RPG events. Editor activity builds toward a focus session. After 5 minutes of observed activity, the session culminates in a boss encounter. Stored focus begins to decay after 1 hour without editor activity. Git activity can trigger encounters, including commits, branch switches, pulls, pushes, merges, conflicts, and stashes. Commands are collected into a burst that resolves 30 seconds after the latest Git activity, followed by a 2-minute encounter cooldown. Rebases and bursts of at least 3 activities become elite encounters, resolved merge conflicts become bosses, and pushes from release branches become raids. When an encounter starts, your character fights a random enemy. Victory grants XP and gold, and may drop an item. Defeat deals damage. If your HP gets too low, recovery starts and activity rewards pause until you heal. What Triggers RewardsMerge & Magic rewards activity in a few different ways:
Some activity is intentionally throttled. Stored focus starts decaying after 1 hour without editor activity. Git activity is grouped into resettable 30-second bursts, with one encounter and a 2-minute cooldown per burst. Town entry has a 5-minute cooldown. While you are in town or recovering from defeat, most activity rewards pause. Loot And LocksLoot is risky by design. When an item drops, it targets its equipment slot and replaces whatever is there. Click a slot to lock or unlock it.
The best strategy is usually to lock your favorite pieces and leave weaker slots open for upgrades. TownUse Go to town when you want to spend gold. While in town, Merge & Magic periodically offers shop items and applies inn healing. If you can afford an item and its slot is unlocked, it can be bought and equipped. If an item is too expensive, you leave town. Town entry has a 5-minute cooldown. The town button shows the remaining countdown while town is restocking. RecoveryWhen defeated badly enough, your character enters recovery. Recovery completes passively after a few minutes. A Git commit restores HP immediately. Consider it a heroic campfire with a hash. CommandsMerge & Magic is meant to be played from its activity bar view. The command palette is intentionally quiet for release.
Tips
Privacy And DataMerge & Magic stores game state in VS Code global extension storage on your machine. The extension observes editor and Git activity only to drive local game events. It does not send your code, repository data, commits, or game state to an external service. Current ScopeThis is a compact idle RPG, not a full character-builder yet. Gear has generated names, rarity, item level, icons, and stats, and those stats feed the current combat loop. Deeper stat identity and buildcraft are good future expansion territory. RequirementsVS Code 1.80.0 or newer. Git-based activity rewards require the built-in VS Code Git extension to be available for the workspace. |




