Move your mouse around in order to move around the paddle and everytime the ball hits the paddle it is one point. If touching the red line, press the green flag a couple more times in order to restart.
Look inside to see how I made this game.