The game of Snake is my "Hello World" equivalent. My quest is to create this game in every programming language I know, or to die trying. I guess, preferrably the latter.
Here is an example using mostly js and JQuery, hosted in Rails.
##stack/features
- Jquery powered, using HTML 5 canvas.
- private javascript object with public api to prevent cheating.
- rails testing with Rspec
- javascript testing with Jasmine
##planned features
- replace green blocks with rounded blocks/images
- replace food blocks with custom image
- 8-directional or full 360-degree movement instead of 4-directional.
- Rails 4 -- when it's available
- sounds, intro and styling.
- enhance keyboard control for play/pause.
- user accounts with score keeping
- auto-pilot/bot. kinda prerequisite for #9.
- multiplayer mode....contact server through ajax to update your position, query server for opponent's position.
- Make this a rails engine, so you can include it in any website with a bundle install.