Making the ball in pong game


The multiplication variable =2.7
How much could be the max value the ball is crazy it is confusing the ai only.
and how to fix the loops.

yes, the ball is stuck in the vertical direction how to fix it.
I am making a pong game so it should add impulse in a random direction.