You press the flag and use your mouse to move the paddle and stop the ball from hitting the red line. If your ball hits the red line, game over. Press the flag to restart.
I just used a paddle, a ball, and a line. Find out the technique and post it in the comments if you like.