I have the perfect thing for you. If you want you can just copy and paste this code to the draw actor event of the computer player.
int weight = 10;
x = ((weight -1)*x + Ball.x)/weight;
Change the 10 to a different number to adjust the speed of the opponent. You'll have to change the word Ball to whatever you called the ball in your game. Hope this helps
.