Skip to content
A close up of a thin green snake that is lying on a dead log. The image has an filter applied which changes the colors to appear more dreamy.

HTML5 Snake Game

When I first started programming, my first project idea was creating the game Snake in HTML5. I quickly found out that it was beyond my capabilities. I've since revisited the project, and it was quite easy to make now that I know how to program. I hope you like it, and can learn something from the code as a beginner. View the code on GitHub.

Use the arrow keys to play