Updated end game checking.