The whole point is that it plays with the same speed limits as a player but still wins, you have no excuse. I just shared this from my unshared projects because I decided it was done two perfect pong algorithms playing pong against each other. neither ever scores in all of my tests
each paddle has an invisible ball thing that acts the same way as the real ball but faster. This ball simulates where the real ball will end up in advance because I'm not good enough to do it with math.