Are you saying you want to create an AI that can play the game of ping-pong? Usually this can be done by simply matching your board with the Y position of the ball. You donโt really need any complex AI model for it.
Have you tried to ask our assistant about how to do it?