Click on the flag then move the octopus with arrow keys and touch the star.
I made this game from tutorials.