Classic snake game application built in pure JavaScript, HTML, and CSS
Try it here!
Through this project, I learned how to use a combination of the canvas element and setInterval() to achieve simple animations. Building out the snake logic was fun and challenging at the same time because of the relationship between the interval length needed to execute the code and the smoothness of the animation. Overall a great project!