Question: 1 2 : 4 0 LTE 4 Back M 9 _ Blackjack - 2 - 1 . docx Switch To Light Mode YOUR CARDS King

12:40
LTE
4
Back
M9_Blackjack-2-1.docx
Switch To Light Mode
YOUR CARDS
King of Clubs
8 of Spades
YOUR POINTS: 18
DEALER'S CARDS
3 of Spades
3 of Hearts
Queen of Diamonds
6 of Spades
DEALER'S POINTS: 22
You win!
Total money: 110.00
Play again? (y/n): 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 52-card playing deck. This class should include a method to shuffle the deck using the Fisher-Yates 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 I/O 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 turn-by-turn logic (hit/stand, 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.
0
80
7
Dashboard
Calendar
To Do
Notifications
Inbox
1 2 : 4 0 LTE 4 Back M 9 _ Blackjack - 2 - 1 .

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 Programming Questions!