Snake Game

So one project that I tried for learning JavaScript was a snake game; I’ll put the code down below:

The code works just fine as an HTML file, as long as you take out the comments. I’ll see if I can load the game directly into this web page at a later date.