Developing Pong's Computer Paddle "AI"
Since you use the ball velocity to calculate the paddle position, it doesn't matter if you add random numbers to the velocity... If you want the AI to be able to lose, you should add some random behaviour to the position, for example a delay.