For that
You can try line of sights behaviour
Compare angles
And for shoot
Use bullet behaviour
Example
Which pieces is near by your striker
Line of sight
After pick
Set angle to piece
Shoot
Compare speed to make goal
It's very simple example not like actual ai
But understand concept atleast