Take inputs indicating where the cue ball is, where the object ball is, and the desired pocket and calculate the angle of the cue stick.
Be able to send, to a serail device or monitor, the coordinates for the path of the all the balls if hit correctly.
Also, be able to pick if a bank shot is desired or a combination shot is desired.
Hello. I can help you with it. I have lot of experience in game developing and graphics programming, strong math skills. In collage I had a diploma work with pool math, so I can provide you with precise math model.