Fill This Form To Receive Instant Help
Homework answers / question archive / Black Jack I) The Game The objective of the game is to accumulate a hand of cards that equals 21 (Blackjack!) or a hand that has a card value greater than your opponents without exceeding 21
Black Jack
I) The Game
The objective of the game is to accumulate a hand of cards that equals 21 (Blackjack!) or a hand that has a card value greater than your opponents without exceeding 21.
II. The Players
In this implementation, two players are required:
The Dealer : distributes cards
The Player : human player who faces the dealer
III. The Rules
Blackjack consists of multiple rounds. Each round the Player may bet any amount of currency. If the Player wins, they receive double the amount of the bet. Otherwise the Player loses the entirety of the bet.
To start each round, the Dealer deals two cards to each player in alternating sequence. Both of the cards that the Player is dealt are kept face up and known to both the Dealer and the Player. The first card the Dealer is dealt 1s kept face up and known to both the Player and the Dealer; the second is kept face down and only known to the Dealer.
The Player begins and may take one of the following actions:
If the player hits, what happens next depends on the new value of the hand:
Once the Player stands, the dealer reveals their face down card to the Player, and continues to hit until the hand value of the Dealer reaches or exceeds 17.
This concludes a round, and the game continues until either the player runs out of money, or the player cashes out.
IV. The Cards
The game is played with a standard 52 card deck. Each card has a face value, King, Queen, and Jack have a face value of 10; the Ace can have a face value of 1 or 11. The Ace should automatically assume the optimal value (1 or 11) based on the hand it is in.
V. The Winner
In general, the winner of a round is the Player who has the higher of the two scores without having gone bust. In the case of a tie, the Player bet 1s returned and a new round starts.
A special case includes natural Blackjacks versus the value of a 21. A natural Blackjack 1s defined as the starting hand having a value of 21 (i.e. an Ace and any face card). While a value of 21 can be any amount of cards (e.g. a 9, 2, and a face card). Natural Blackjacks always triumphs over a value of 21.
VI. The Assignment
Design and Implement an Object Oriented Blackjack game in Java. Your game should be played by either two live players (where one player 1s randomly chosen to be the Dealer) or one live player and the Computer as the Dealer.