Hello there,
Nice to know about your current project.
I'm really glad that I would help you out with your problem. From you project description, your need of AI is called Decision Making and Decision Tree in AI programming. That is the knowledge on how we "teach" the AI to understand what is the current condition of their surrounding. The AI will decide what should they do if the condition is A, or maybe B, or maybe A and B, or A or B. And this method on AI programming is the most suitable method that fulfill your need on your desired AI.
Can you tell me more about the game? As I suggest, using decision tree or decision making implementation will suit with your need... Love to know more if you'd like to chat about it.
Best Regards,
Haidar Abhirama
NOTE : Hello Shashank, I'm sorry but somehow I can't reply your message. Is that any problem? I hope you see this message