Skip to content
Snake for Sublime Text 2 [Alpha]
Pull request Compare This branch is 6 commits behind jonfinerty:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap

Sublime Snake

Snake for Sublime Text 2


Ever been frustated with your code? Broken the build? It just won't compile?

Make that source code pay - by eating it with a snake. Obviously.

The more code you eat the longer your snake grows.


You can now install this plugin using Sublime Package Manager!, search for 'snake' under packages.

You can install it manually if you wish, you will need to download the source files into a folder within your sublime text 2 packages directory (Preferences -> Browse Packages...)


To play a game of snake on Windows/Linux press:

ctrl + shift + alt + s
Or on OSX:
command + shift + alt + s

To stop either lose, or hit that key combination again.

Use the arrow keys to navigate.

Possible future work

  • clean closing - close scratch file when done
  • get added to package manager
  • apples!
  • wrap around edges
  • -make bottom of code more obvious-
  • snake colour
  • make vertical speed consistent with horizontal
  • settings file to allow people to customise their games


Don't worry this plugin will make a copy of your code and leave the original alone.

If you find your arrow keys not working, try restarting sublime. If all else fails log an issue and/or disable this plugin.

That being said don't blame me if anything goes too wrong.

Created by Jon Finerty

P.S. I'm tired of these motherfucking snakes in my motherfucking code.

Something went wrong with that request. Please try again.