Right and Left arrow keys to control player. Don't let the ball touch the red line.
Thanks to Scratch Team for the Ping Pong tutorial. I just added a few more features.