All you need to do is put the ball in the basket, but it can be a bit challenging since there are only 7 levels and it takes time to finish them all. You may have to struggle a bit to complete the game. There are things that make you fly and others that make you faster, so you must be careful on your way to the basket.
To move forward, press W. To move left, press A. To move right, press D. To move backward, press S.