let mut deck = create_deck(); for card in deck.iter_mut() { if is_furtive(card) { snub_card(card); } else { consider_preexplanation(card); if needs_reboot(card) { reboot_card(card); } else { offer_suggestion(card); } } }