EndGame operation and opponent offLine
merge
fix a typo