VS Code Extensions
S

Snake Break: Play Snake in VS Code

by PranavVetkar

A fast, nostalgic Snake game inside the editor as a lightweight micro-break tool.

Downloads

10

Rating

5.0 / 5 (1)

Version

0.0.2

Last updated

Apr 14, 2026

Take a moment to fix some bugs (🐛) and relax your brain! Snake Break is a fast, nostalgic Snake game embedded directly inside your editor as a lightweight micro-break tool.

✨ Features

  • Instant Launch: Starts instantly with no loading delays using zero external dependencies.
  • Built for Micro-Breaks: Engineered purely for momentary distraction; uses an underlying HTML5 <canvas> for extremely fast, responsive 60fps gameplay.
  • Wrap-Around Mechanics: Hit the wall and seamlessly emerge on the opposite side of the screen!
  • Score Persistence: Automatically saves your High Score natively inside VS Code's global state, so you can always pick up where you left off.

🎮 How to Play

  1. Open your Command Palette (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows/Linux).
  2. Type and run Snake Break: Play Snake.
    • Alternatively, use the shortcut Cmd+Option+S (Mac) / Ctrl+Alt+S (Windows).
  3. The game will open in a split Webview panel exactly where your code usually is.
  4. Use W / A / S / D or your standard Arrow Keys to steer the snake.
  5. Eat the bugs (🐛) to grow longer and stack your score!
  6. If you collide with your own tail, hit the Spacebar to quickly restart.

⚙️ Requirements

  • Visual Studio Code version 1.60.0 or higher.

💡 Feedback & Support

Found a bug or want to suggest a new feature (like difficulty scaling or themes)? Feel free to reach out or leave a review on the VS Code Marketplace. Happy coding, and enjoy the break!

Related extensions