Added guard condition to resolveTurn in case player died