PongAI
About
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. That's 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 keys to move, and good luck (you'll probably need it).
Also, judging from the thousands of other pong clones I'm pretty sure this is legal, but if it isn't pls no sue, I just want to make AI.
System requirements for Web
Last Modified: Aug 28, 2020
Where to buy
itch.io