Use the arrow keys to move. If you hit the black, you die.
If you want to find out the code, play Snake Runner on hard: https://scratch.mit.edu/projects/173326874/. I fixed the sneak-peak a little. The maze has a problem right now