Play quick mini-games directly inside VS Code — your coding sanity depends on it.
DevBreak GameHub is a lightweight VS Code extension that lets you take fun, structured breaks during long coding sessions. Launch games from the Command Palette, get smart break reminders, and instantly hide everything with the Boss Button when your manager walks by. 😅
Launch any game directly from VS Code. New games are added with every update — suggestions welcome!
| Game | Command |
|---|---|
| 🚗 Mountain Road | DevBreak: Play Mountain Road 🚗 |
| 🛕 Temple Run | DevBreak: Play Temple Run 🛕 |
| 🏃 Subway Surfer | DevBreak: Play Subway Surfer |
| 🐦 Flappy Bird | DevBreak: Play Flappy Bird |
| 🦖 Dino Run | DevBreak: Play Dino Run |
| 👾 Pac-Man | DevBreak: Play Pac-Man |
After a configurable period of coding activity (default: 45 minutes), DevBreak will gently nudge you to take a break with a notification offering to open a game instantly.
A discreet red button appears while a game is open. One click instantly closes the game panel and returns you to your code. The button can be hidden or shown using the toggle eye icon — so it's only visible when you need it.
Open the full hub (DevBreak: Open GameHub) to browse all available games in a sleek, retro-futuristic UI.
Look at the bottom-right corner of your VS Code window. You'll see:
🎮 DevBreak
Click it anytime to instantly open the GameHub. It's always visible, no matter what file or workspace you're in.
- Open Command Palette:
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Type
DevBreak:to see all available commands - Select a game or open the games hub
- Play, relax, then click ← Back to return to the hub
Press Ctrl+Shift+P, type or paste devbreak.openHub, and hit Enter.
- Appears in the bottom-right corner when a game is active
- Toggle visibility using the small eye icon above it
- Click 👔 Boss Coming! to instantly close the panel
DevBreak works out of the box — no setup needed. There's only one optional setting worth knowing:
| Setting | Default | Description |
|---|---|---|
devbreak.reminderInterval |
45 |
Minutes of coding before a break reminder (set to 0 to disable) |
Configure via Settings > DevBreak GameHub or use the DevBreak: Set Break Reminder Interval command.
"The best developers take deliberate breaks. DevBreak makes breaks fun."
Short gaming breaks (2–5 minutes) help reset focus, reduce eye strain, and actually improve productivity. DevBreak GameHub brings this directly into your workflow — no context switching, no browser tabs.
If DevBreak has saved your sanity during a long coding session, consider buying me a coffee! It keeps the project alive and new games coming.
MIT — play freely, code freely.
