You have to put the ball in the goal by using the least amount of shots possible... as if you were playing golf! Each level has a par (strokes limit) that you cannot exceed.
To kick the ball, press the left mouse button and then release it. You can also explore the full scene using the arrow keys or moving the mouse pointer over the borders of the screen. Space bar to go back to the point where is placed the ball.