Press the arrow keys to change direction. The green apple is good and eating it will gain you points, while the red apple is bad and eating it will lose you points.