

Basically every pong game that I could find with an AI to play against used the simple trick of just trying to match the vertical position of the ball at all times. Thats great and all, but I wanted to make something more complex. This AI uses raycasting to predict the path of the ball and move accordingly, making it a much more difficult opponent, especially at higher speeds. Special thanks to reddit user u/Giblaz for writing the bouncing raycast script that I modified for use in this. Arrow ke...

Tap to see all activity →
No reviews for PongAI yet
Be the first to write one.