In the predator prey game, one of the characters has to catch the second one. An example for realizing an automatic AI predator is a behavior tree in which simple actions are provided by a decision tree. If the tree isn't given in advance but learned during runtime the algorithm of choice is ID3.
Solving this and more demanding problems is treated as Game AI programming. A short survey about the subject contains planning techniques and a more general agent architecture which were used in AAA game titles.
- ukoundinya: Decision and Behavior Trees http://sai-upadhyayula.com/2019/04/14/decision-and-behavior-trees/
- Zhadan, Anastasiia. "Artificial Intelligence Adaptation in Video Games." (2018).