//initializes the game with creation of a deck //and printing of the welcome message card * initializeGame() { printf("\n"); card * deckOfCardsPointer; deckOfCardsPointer = makeDeck(); printWelcome(); return deckOfCardsPointer; }
//------------------------------------------------------------------- int main() { //printf("~~~~~~~MAIN FUNCTION~~~~~~~\n"); struct Node *head = makeDeck(); printf("-------------------------------------------------------------------------------"); //printf("\nTHE LENGTH OF THIS DECK IS: %d\n",length(head)); printf("Here is an ordered Deck: \n"); printList(head); printf("Here is a shufled Deck: \n"); struct Node *shuffledHead = randomShuffle(head); printList(shuffledHead); }