Great idea! Wish the speed was bit more. I think it would be cool if it takes exactly 1 second to bounce between the two paddles.
replies(4):
(()=>{const T=1;window._u0=window._u0||update;update=function(){const W=gameCanvas.getBoundingClientRect().width,dist=0.92*W,vx=Math.abs(ball.speedX)||INITIAL_BALL_SPEED;let n=(dist/vx)/(60*T);n=Math.max(1,Math.min(20,Math.round(n)));for(let i=0;i<n;i++)_u0();};})()`
(for the sake of non-native English readers)