Classic Nokia 1100-inspired Snake game inside VS Code.
Author & Support
- Author: Sushil Salimath
- Point of contact: Sushil Salimath
- Email:
[email protected] - Support:
https://github.com/sushilsalimath12/dx_snake/issues
Gameplay
- Eat food to grow and gain points
- Snake speeds up as you score
- Wall collision ends the game (classic challenge mode)
- Game ends if snake hits its own body
- Immediate 180-degree reverse turns are blocked
- High score is saved locally
Controls
- Move:
Arrow KeysorW/A/S/D - Pause:
P - Restart:
R
Mouse use is minimal: click once to focus the game panel if needed.
Run Locally
- Open this folder in VS Code.
- Install dependencies:
npm install
- Build:
npm run build
- Press
F5to launch the Extension Development Host. - Run command:
DX Snakes: Start Game
Package For Marketplace
- Update
publisherinpackage.jsonto your Marketplace publisher ID. - Keep extension display name as
DX Snakes. - (Optional) update version and icon.
- Build and package:
npm run package
- A
.vsixfile will be created in this folder. - Publish with VSCE (after login/token setup):
npx vsce publish
Notes
- Game state is kept while the panel is open (
retainContextWhenHidden). - Designed intentionally simple, fast, and retro.