Quantum games in open quantum systems