Added gameEndHandler on client