On games with coordinating and anti-coordinating agents