Mastering Zero-Shot Interactions in Cooperative and Competitive Simultaneous Games