Add End-of-Game detection