Snake is a classic that keeps finding it's way back to the forefront because it is just fun. This implementation is simple but feature complete. Use the arrow keys to change your snake's direction and see if you can beat your high score.

This version of the game was made in Dragonruby which you can find here:

https://dragonruby.itch.io/

The code is based on the code in this video. The video used ruby2D so is not the same but is similar. I highly encourage you to watch the video and compare it to the code for this project if you are interested in seeing the differences.

I am including the ruby source for this game in the downloads section under the name main.rb. Dragonruby is a commercial product, and you do need to purchase a license to use it. That said, sales happen a lot and the community and developer are rad. If you want to use DR and can't afford it, definitely reach out and see if they can help you out.

Credits

Press Start 2P Font: https://www.dafont.com/press-start-2p.font

main.rb code is released under the MIT license. 

If I do end up adding music or sound effects they will be produced by me and are released under Creative Commons Attribution 4.0

Download

Download NowName your own price

Click download now to get access to the following files:

main.rb 4 kB
DR_Snake_Linux.zip 3.8 MB
DR Snake.app.zip 5 MB
DR_Snake_Windows.zip 3.8 MB

Leave a comment

Log in with itch.io to leave a comment.