Original Post
Hi , I'm making a pool game and I'm at point where I can implement the AI for the game. What is the best algorithm to play pool (9-ball) ? 1. selecting the right color (full or half-full balls) 2. sorting from nearby a pocket tot far away 3. selecting only the balls who are pottable (=> no balls on the way to pocket and way from white to selected ball) 4. play the ball with right power, right angle the first and second stap aren't really difficult. I have some problems with the 3 en 4 step. My questions : 1. How do I check if a ball is pottable in a pocket ? (I guess something with angle? what is the maximum angle to pot ?) 2. What is a right angle to play a ball (how to calculate) ? Thx in advance !