Hey, thanks. I'm glad you like it. The AI is really simple for this. It finds the first ball that could possibly allow it to win still, and sets the cue ball's direction vector to the difference of that point and the cue ball's starting point. There's no slicing or banking that it considers.