redone check if game has ended