Question: Please provide code in language data strcucture and algorithm development in C in visual studio coding should use basic linked list method to perform actions

Please provide code in language data strcucture and algorithm development in C in visual studio
coding should use basic linked list method to perform actions and simple code is required.
Please provide code in language data strcucture and algorithm development in C
in visual studio coding should use basic linked list method to perform

In this assignment, you are asked to apply this knowledge and skill to complete th Blackjack game as described below. In your program, you should have 3 linked lists of cards: -- Deck starts with 52 cards - PlayerList starts with 0 cards for the player -- DealerList starts with 0 cards for the dealer When the game starts, 2 cards are removed from the Deck and added to the PlayerList, and 2 other cards are removed from Deck and added to DealerList. You should implement two functions for this purpose: -- DealToPlayer(): This function remove one card from Deck and add it to the PlayerList -- DealToDealer(): This function remove one card from Deck and add it to the DealerList Once the game has begun, your program should start a infinite loop of asking the user to choose between "Hit" or "Stand". Every time the user choose Hit, your program should: - Call DealToPlayer() to move one card from Deck to PlayerList - Calculate the player sum by adding the blackjack values of all the cards in the PlayerList - DealloPlayer(): This function remove one card from Deck and add it to the PlayerList -- DealToDealer(): This function remove one card from Deck and add it to the DealerList Once the game has begun, your program should start a infinite loop of asking the user to choose between "Hit" or "Stand". Every time the user choose Hit, your program should: -- Call DealToPlayer() to move one card from Deck to PlayerList - Calculate the player sum by adding the blackjack values of all the cards in the PlayerList - If the sum is >21, prints "Player Busted" and end the game. - If the sum is =16 and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!