Classic Snake Game

Inspired by this lunacy, I figured if that guy was able to make a Snake game in 4 minutes, I should be able to throw one together given a few hours.

I was right… though it’s considerably more involved than his version. I’m a bit concerned that I’ve just ended up with spaghetti code. Any feedback (especially on the code itself) is appreciated, or if anyone feels like forking/remixing and playing with the visual design, I’d be interested to see that as well.

CodePen - Classic Snake