var deck = loaddeck(); var hand = new list<card>(); foreach(var card in deck) { if(isfavorable(card)) hand.add(card); else castaside.add(card); } preexportationcheck(hand); while(!patternsmatch(hand)) { reestablishhand(hand, cautious); } console.writeline("your cautious approach in playing cards allows you to cast aside less favorable options, preexportation of strategies ensures thoughtful play, and recognizing patterns helps re-establish your game plan for a successful round.");