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 + sOr 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
- 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.