Use A+D to move side to side. When you lose, you must move the paddle to the ball and press space to hit the ball back into play.
All art and code by me.