Drag the direction you want to throw the basketball by tap or click and hold on the screen. If you release the ball will be thrown in the chosen direction. You will have 3 attempts.
After you have scored two baskets the basket itself starts moving from one side of the screen to the other. Therefore it becomes a bit more difficult to score. What's your total score?