Play Tic-Tac-Toe and Snake directly inside VS Code with this fun and interactive extension!
Features
Snake 🐍
Classic snake game playable inside VS Code.
Choose skins for your snake (including rainbow mode).
Smooth animation and responsive controls.
Restart and change skin anytime.
Tic-Tac-Toe ❌🔴
Play against AI or a friend in 1v1 mode.
Four difficulty modes: Easy, Normal, Hard, 1v1.
AI last move is always visible.
Winning line is highlighted with animations.
Restart or change mode without closing the game.
Animated pop-in effect for moves.
Commands
You can run the games using VS Code commands or assign your own keyboard shortcuts.
Command
Description
Default Shortcut
SAS: Snake
Open Snake game in a VS Code panel
Ctrl+Shift+S
SAS: Tic-Tac-Toe
Open Tic-Tac-Toe game in a VS Code panel
None (assignable)
Installation
Clone or download the repository:
git clone
Open the folder in VS Code.
Press F5 to run the extension in a new Extension Development Host.
Open the Command Palette (Ctrl+Shift+P) and search for:
SAS: Snake
SAS: Tic-Tac-Toe
Enjoy!
Controls
Snake
Arrow keys to move.
Select skin from the menu.
Restart anytime from the button.
Tic-Tac-Toe
Click on a cell to place your move.
AI moves automatically in Easy/Normal/Hard.
1v1 mode allows two players to take turns.
Restart or change mode using buttons below the board.