Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>🐍 Terminal SnakeNew to Visual Studio Code? Get it now.
🐍 Terminal Snake

🐍 Terminal Snake

Suraj Dev Yadav

|
1 install
| (0) | Free
A classic Snake game in the VS Code terminal
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🐍 Terminal Snake for VS Code

Play the classic Snake game directly inside your VS Code terminal! Take a quick brain break without ever leaving your code.

Snake Game

Features

🟢 Classic Snake Gameplay: Smooth terminal rendering with ANSI colors.

📏 Dynamic Box Sizing: Press + or - to increase/decrease the arena size while playing!

🏆 Local High Scores: Your best score is saved automatically.

⌨️ Intuitive Controls: Arrow keys or WASD to move.

How to Play Open Command Palette (Ctrl+Shift+P or Cmd+Shift+P).

Type Snake: Start Game and hit Enter.

Press Enter in the terminal to start.

Use Arrow Keys or WASD to control the snake.

Eat the ★ to grow and earn points!

Don't hit the walls or yourself.

Controls

Key Action

↑ ↓ ← → / W A S D Change direction

  • / = Increase box size
  • Decrease box size P / Space Pause / Resume Q Quit game Enjoy your break!
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft