Both sides had enough nuclear buildup that if one directly attacked the other they could destroy the world. So achievements like the space race and smaller wars fought in the middle east coupled with the fall of the Soviet Union determined the winner. It was basically an endurance test.