The bug has FINALLY been fixed. Now you can move after losing. I am still going to add a few things like, a non-scratch variable score, play button, PB (maybe), tutorial like in google snake where you press the arrow keys or wasd first before the game starts, sounds, and more animations like eating animations.
Thanks to ShiftClickLearn for the tutorial Thanks to Google for the inspiration Thanks to Taneli Armanto for making this game a thing in the first place in 1997 on Nokia phones.