Dynamic Games for Adversarial and Cooperative Multi-Agents Control