You're the snake and you must eat the donuts! Use WASD to turn, and don't run into the wall or yourself!
It is rare, but it has happened to me twice where the snake gets stuck at the beginning. If this does happen, spam the green flag and WASD and then it should fix itself.