Tetrix — Break TimerStaring at code for hours in a row kills your focus. Tetrix is a mini Tetris game built right into VS Code that steps in between two intense coding sessions, giving your brain a real, deliberate pause instead of another five minutes doomscrolling. Once the break starts, a cooldown locks the game back up — so it stays a reset, not a distraction. Screenshots
How it works
Commands
Controls
Settings (
|
| Key | Default | Description |
|---|---|---|
tetrix.cooldownMinutes |
30 |
Lock duration after a break |
tetrix.maxGamesPerBreak |
1 |
Number of games allowed per break |
tetrix.maxBreaksPerDay |
0 (unlimited) |
Maximum number of breaks per day |
tetrix.breakDurationMinutes |
0 (disabled) |
Auto-closes the game after X minutes, regardless of games left |
tetrix.showStatusBarItem |
true |
Shows the Tetrix status in the status bar |
Example for a looser configuration (3 games, 15 min lock, 5 breaks/day max):
{
"tetrix.maxGamesPerBreak": 3,
"tetrix.cooldownMinutes": 15,
"tetrix.maxBreaksPerDay": 5
}
Development
npm install
npm run compile
Then press F5 in VS Code to launch a development window with the extension loaded.
Bugs & Suggestions
Tetrix is open source. Found a bug, have an idea for a new setting, or just want to suggest an improvement? Head over to the GitHub repository and open an issue — contributions and pull requests are welcome too!
Links
- Repository: github.com/r-seize/Tetrix

