Hey guys sorry in advance if I format this wrong it's my first time posting here. The problem i'm having with my code is the paddle lags maybe about 10 seconds behind the actual input while the ball is in motion. If i comment out the line "move(ball, xvelocity, yvelocity);" which can be found in the while loop "while (lives > 0 && bricks > 0)" about a third of the way down on the code the paddle will move fine, but while its in effect the paddle lags behind. I'm not sure why the balls movement makes the paddle lag, I've tried various things and i can't figure it out. If you know the problem can you please explain to me why this happens i'm very curious to why this happens.
[removed code- academic honesty]