Use the arrows to move and catch the Octopus and get two points in score. when you reach 50 points in score, you win!
I just played around with the code until I just got something.