This snake game was made over the course of a few hours, so expect there to be plenty of oppertunities for code optimization. It was inspired by this video: https://www.youtube.com/watch?v=xGmXxpIj6vs
simonKristensen/snake
Very simple snake game in vanila HTML and JS - Made in one file on purpose - few hours project
HTML