Phase-transition-like behaviour of quantum games