Need Help ?

Home / Expert Answers / Other / Description Using the class provided card.cpp and card.h in the attached files, create another clas

Description Using the class provided card.cpp and card.h in the attached files, create another clas ...


Description Using the class provided card.cpp and card.h in the attached files, create another class called DeckOfCards (.cpp and .h). This class will maintain a deck of cards using a Stack of Card objects. There should be no duplicate cards in the deck. The DeckOfCards class should provide methods to: Populate the deck (constructor) Shuffle the deck of cards (may need more stacks or other structures in the method). A method to deal a card. Method provides the number of cards remaining in the deck. Another class will be needed called PlayerHand (.cpp and .h). This class will maintain a players hand in a game of Black Jack. Limit the hand to 5 cards. Provide Method to add cards to the hand Method to get cards in the hand. Use a Queue to store the cards in. The driver of the program will control the game between just two players. Dealing (DeckOfCards) the cards to the players (PlayerHand). It will also determine who the winner is. Player should be able to take hits and indicate when they are done. Once both players are done main will determine the winner. Can use the STL versions of the Stack and Queue.



Radioactive Tutors

Radio Active Tutors is a freelance academic writing assistance company. We provide our assistance to the numerous clients looking for a professional writing service.

NEED A CUSTOMIZE PAPER ON THE ABOVE DETAILS?
Order Now


OR

Get outline(Guide) for this assignment at only $10

Get Outline $10

**Outline takes 30 min - 2 hrs depending on the complexity and size of the task
Designed and developed by Brian Mubichi (mubix)
WhatsApp