press space to clear, up arrow to change direction. be careful of when you press the up arrow, because if you touch the boarder, you die, and pressing the up arrow changes direction from 1 to 360 degrees.
i just made the project. i don't know. Put ur high score in the comments. be honest about it.