The bot just follows the Y of the ball If the ball touches to the red you lose. However you can edit the code and assets so that you can end up with an actual ping pong game.