   --cięcie--
   function followBall() {
     let ball = {
       top: ballPosition.y,
       bottom: ballPosition.y + BALL_SIZE
     };
     let leftPaddle = {
       top: leftPaddleTop,
       bottom: leftPaddleTop + PADDLE_HEIGHT
     };

     if (ball.top < leftPaddle.top) {
       leftPaddleTop -= MAX_COMPUTER_SPEED;
     } else if (ball.bottom > leftPaddle.bottom) {
       leftPaddleTop += MAX_COMPUTER_SPEED;
     }
   }

   function update() {
     ballPosition.x += xSpeed;
     ballPosition.y += ySpeed;
     followBall();
}
   --cięcie--
