Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SAS-gamesNew to Visual Studio Code? Get it now.
SAS-games

SAS-games

sas-games

|
3 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🎮 SAS Games Extension for VS Code

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

  1. Clone or download the repository:
git clone 
  1. Open the folder in VS Code.

  2. Press F5 to run the extension in a new Extension Development Host.

  3. Open the Command Palette (Ctrl+Shift+P) and search for:

  • SAS: Snake
  • SAS: Tic-Tac-Toe
  1. 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.

File Structure

sas-extension/
├─ package.json
├─ README.md
├─ src/
│  └─ extension.js
└─ webview/
├─ snake/
│  ├─ index.html
│  ├─ style.css
│  └─ script.js
└─ tic-tac-toe/
├─ index.html
├─ style.css
└─ script.js
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft