A simple demonstration of a fully automated Pong game for M303MTL. You can ignore the ball script, none of that is relevant. What it does is it has a variable for how much the x position of the paddle will change, and that variable changes in accordance to the paddle's position relative to the ball. You can see the scores in the lower-left corner, and the first AI to reach 5 points becomes the winner.