just move your mouse for the paddle to follow and not make the ball drop to the bottom and touch black because then you will lose the game.
I used ideas from scratch team.