This is an engine for a snake game that actually works! (cannot collide with itself or walls yet) This can't smoothly switch between speeds, but I just made it so that it works (you won't be able to switch speeds in the actual game). Edit: there are some glitches to do with when you go off the edge of the screen if turn as you go into an edge. Edit: that previous glitch is no longer present :) Love it if you do! <3