if(ball.getY() < y - height/2){
moveUp();
}
if(ball.getY() > y + height/2){
moveDown();
}
What's happening is the paddle looks like it's spazzing out, it alternates between going up and down like every .5 seconds, but still travels in the general direction it's supposed to go.






