KimotoNanami17.c
void shuffle(Card deck[]){
  int swapper = 0; //card swapper
  int i = 0; //counter
  Card temp = {"", ""}; //holder 
  srand(time(NULL)); //for random
  for(i=0;i<MAX_CARDS;i++){//loop through
    swapper = rand() % MAX_CARDS; //randomized cards 
    //swap
    temp = deck[i];
    deck[i] = deck[swapper];
    deck[swapper] = temp;
  }
}
/**
 * Shuffles the deck (an array of cards).
 * Uses the pseudo-random number generator to shuffle the cards.
 * Loops through the entire deck and makes random swaps.
 *
 * @param deck[] An array of cards to shuffle.
 */
Shuffles the deck (an array of cards).
Uses the pseudo-random number generator to shuffle the cards.
Loops through the entire deck and makes random swaps.

@param deck[] An array of cards to shuffle.
Shuffles the deck ( an array of cards ) . Uses the pseudo - random number generator to shuffle the cards . Loops through the entire deck and makes random swaps . @param deck [] An array of cards to shuffle .
void shuffle(Card deck[]){
  int swapper = 0; 
  int i = 0; 
  Card temp = {"", ""}; 
  srand(time(NULL)); 
  for(i=0;i<MAX_CARDS;i++){
    swapper = rand() % MAX_CARDS; 
    temp = deck[i];
    deck[i] = deck[swapper];
    deck[swapper] = temp;
  }
}
void shuffle ( Card deck [ ] ) { int swapper = 0 ; int i = 0 ; Card temp = { " " , " " } ; srand ( time ( NULL ) ) ; for ( i = 0 ; i < MAX_CARDS ; i ++ ) { swapper = rand ( ) % MAX_CARDS ; temp = deck [ i ] ; deck [ i ] = deck [ swapper ] ; deck [ swapper ] = temp ; } }
Shuffles the deck (an array of cards).
Shuffles the deck ( an array of cards ) .
//card swapper //counter //holder  //for random //loop through //randomized cards  //swap