I have a problem with my code where the ball doesn't accurately detect the collision of the paddle on all point it deflect the ball at a certain area, but not all. Here is the paddle dimensions from paddle class:
x= 550
y= 170
width = 15;
height = 90;
class ball
{
int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.