emergent behavior ai https://www.gamasutra.com/blogs/MikeDiskett/20130720/196675/AI_design_for_Emergent_Behaviour.php
Applying the 3 simple rules of flocking https://gamedevelopment.tutsplus.com/tutorials/3-simple-rules-of-flocking-behaviors-alignment-cohesion-and-separation--gamedev-3444
A.I. Behaviour trees: it is a Normal Tree that can contains a ( selector, Composite, Decorator, Sequence, leaf) a Selector can contain multiple leafs but only runs one leaf, a composite is like the header to hold a selector or decorator, decorator runs only 1 thing down it, Sequence runs multiple leaves as long as the leaf is returning success. https://www.gamasutra.com/blogs/ChrisSimpson/20140717/221339/Behavior_trees_for_AI_How_they_work.php