Make the ball not touch the floor. If it does you lose. The Paddle follows your Mouse X.
I used a tutorial on youtube.