Use timing to aim and set the power to score by pressing [SPACE] at the right time. Hit the backboard to get the ball in. Sure it might have looked like you got it in, but the idea is to hit the back board.