Question: 1 2 : 4 0 LTE 4 Back M 9 _ Blackjack - 2 - 1 . docx Switch To Light Mode YOUR CARDS King
:
LTE
Back
MBlackjackdocx
Switch To Light Mode
YOUR CARDS
King of Clubs
of Spades
YOUR POINTS:
DEALER'S CARDS
of Spades
of Hearts
Queen of Diamonds
of Spades
DEALER'S POINTS:
You win!
Total money:
Play again? yn: n
Bye!
Specifications
Use a Card class that provides attributes that store the rank, suit, and points for a card.
Use a Deck class that provides for a standard card playing deck. This class should include a method to shuffle the deck using the FisherYates shuffling algorithm.
Use a Hand class to store the dealer's hand and the player's hand.
Use a BlackjackIO class that provides methods for dealing with the IO for the application.
Use a BlackjackGame class that provides attributes for storing the money a player has available, the player's current bet, the minimum and maximum bet, the player's and dealer's hands, and the deck. This class should include methods for basic turnbyturn logic hitstand play another game, etc. and determining the outcome of the game.
Use a class to store the code for the user interface and the main method. Don't forget to validate any input received from the user.
Dashboard
Calendar
To Do
Notifications
Inbox
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
