Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Nicely done. How did you do the player 2 ai?

(+1)

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.