Press the arrow keys to control the line of squares. Don't crash into yourself or the walls. Run into a fruit to make the line longer. At the end, the color-changing box says the # of squares. Click the fruit to change it. There is an apple, a banana, and a pineapple.
This is based on the game at google.com/search?q=snake