A fully-featured Snake game inside VS Code. Play the classic arcade game without leaving your editor!
| Menu |
Gameplay |
 |
 |
- Classic Snake - Navigate the snake, eat food, and grow!
- Wrap Mode - Snake wraps around edges for endless play
- Wall Obstacles - Enable walls for extra challenge
- Multiple Speeds - Choose from Slow, Medium, Fast, or Insane
- Level Progression - Speed increases as you level up
- High Scores - Track your best performances
- Keyboard Controls - Arrow keys, WASD, and more
- Open the Snake view from the activity bar (or use the Command Palette
Ctrl+Shift+P and search for "Snake")
- Select your speed and click "Start Game"
- Use arrow keys or WASD to navigate the snake and eat food
- Avoid running into walls (if wrap mode is off), obstacles, or yourself
| Key |
Action |
↑ ↓ ← → or W A S D |
Move the snake |
P / ESC |
Pause / Resume |
M |
Return to menu |
| Command |
Description |
Snake: New Game |
Start a new game |
Snake: High Scores |
View your high scores |
Snake: Settings |
Open VS Code settings for Snake VS |
These are VS Code extension settings — accessible via Snake: Settings from the Command Palette, or go to File > Preferences > Settings and search for "snake-vs".
| Setting |
Description |
snake-vs.gridSize |
Grid size (10-25) |
snake-vs.speed |
Game speed (slow, medium, fast, insane) |
snake-vs.wrapMode |
Snake wraps around edges |
snake-vs.enableWalls |
Enable wall obstacles |
snake-vs.pauseOnBlur |
Pause game when webview loses focus |
MIT