Written in Haxe, for any who might be interested in that information.
Need to click the game before playing, so that keyboard focus gets handled properly.
Space bar to start or restart the game.
Arrows to change direction.
Yes, the tail movement isn’t right. I’m working on it.
Also, now that the game is smoothe scrolling, your normal jetlag reflexes won’t work, as hit tests are very sensitive.