Don't touch yourself and the edges. Collect food to grow and earn points. Score 30 to win. Show the direction to your snake with arrows.
I just scratched a retro game called "Snake" and made it a bit easier.