Code Breaker is an interactive, arcade-style brick-breaker game that lives right inside your VS Code window! Turn your boring code into breakable blocks and relieve some stress.
Features
Interactive Gameplay: Play a classic arcade game using your actual source code as the breakable blocks.
Dynamic Physics & Speed: The code blocks start safely at the center of the screen and only drip downwards when you clear rows. Beware: the ball gradually gains speed with every cleared row!
Victory & Defeat States: Experience custom audio cues and a spectacular firework animation when you successfully override the system (win).
Real-Time Code Destruction: Watch as destroying a block in the game actually deletes the corresponding line of code in your editor. (Don't worry, you can always Ctrl+Z to undo!).
How to Play
Open any text or code file in VS Code that has some content. (If the file is empty, a fallback dummy level will be loaded).
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
Type and select Code Breaker: Start.
The game will open in a new side panel. Click inside the panel and use your Mouse or Left/Right Arrow Keys to move the paddle.
Bounce the ball to break the blocks of code before they crush your paddle!
Click Restart to instantly play again, or Back to Code to close the panel and return to your editor.
Requirements
No special requirements! Just install the extension and you are ready to break some code.
Release Notes
1.1.0
New Mechanics: Code blocks now safely spawn in the middle of the screen and only shift downwards when bottom rows are cleared.
Adaptive Difficulty: Ball velocity now slowly increases as you dig deeper into the codebase.
Aesthetic Overhaul: Added Game Over / Victory custom audio tracks and a firework particle engine for successful completions.
Bug Fixes: Resolved blank screen issues on empty files and fixed Command Palette initialization focus bugs.
1.0.0
Initial release of Code Breaker!
Includes active code destruction.
Responsive paddle controls (Mouse & Keyboard).
Created with love for developers who need a break.