Use your mouse to move the paddle. The ball can not touch the red lines. If it does, then your points minus by 3. If the paddle touches the ball, your points plus by five.
I made this project with my teacher. I hope you guys like it