title: How does the collidepoint function in pygame work?
body: <p>So I am doing a lab regarding pong and I was lost on the concept of collidepoint a function in pygame, which checks whether the center of the circle is inside the paddle. Upon looking at documentation I was still confused since I am very new to programming and I am really having a hard time settling in and getting a grasp of the new skills thrown at me. I would really appreciate if someone could help me out by explaining it a bit more and maybe giving a basic simple example.</p>