Write a java application that allows user to play blackjack

Assignment Help JAVA Programming
Reference no: EM131374086

Java - Black Jack Application- FOR SOLUTION MESSAGE ME

Write a Java application that allows a user to play Blackjack against the computer. The computer will act as the house, dealing the cards and paying when you win. There is a general set of rules along with optional plays for both the player and dealer. For this assignment you will implement just a simple version of the game using the following basic rules: Only one deck is used and it is shuffled after every hand. Dealer hits on 16 or under and stands on all 17s or better. Your application does not include betting nor does it track a player's performance; it simply plays one hand at a time and declares a winner after each hand.

As mentioned before, there are many other variations, including splitting, doubling down, surrender possibilities, insurance, and more. Please do not implement any of these rules unless you are attempting the extra credit (see below). Classes: Your application must include the following six classes: BlackJack (the test class), Card, Deck, Player, Dealer, and Game. The BlackJack class and the Card class are complete. Do not change them. For the other four classes I have included partially complete templates to help get you started. NOTE: Your application must use all of these and must work with the BlackJack test class. For maximum points all I/O operations (printing to the monitor and reading from the keyboard) should happen in the Game class or the Player class.

For the Aspiring Hacker: Allow the player to buy chips, bet on each hand, and track how much money a player has from hand-to-hand.

Here are the specifications for this:

- The player must buy-in for at least $100.00.
- You must keep track of the player's funds from hand to hand.
- A player must bet between $10.00 and $1000.00 dollars on any hand.
- Blackjack pays 1.5 to 1 unless the dealer also has blackjack in which case it's a push (tie).
- Player may double down on any two card hand except blackjack.

Reference no: EM131374086

Questions Cloud

Write a definition of the error : Requirement:  In your own words: (a) write a definition of the error, and (b) describe how you will locate such errors in your own writing
Reproductive and central nervous systems : Objective:  Discuss a disease, condition or syndrome affecting the reproductive and central nervous systems and current research, events, or interesting facts about the disease/condition/syndrome.
List the seven categories of complaints with gas furnaces : List the seven categories of complaints with gas furnaces.
What if the good ethics are also good business practice : The case states that higher wage rates at the Alta Gracia factory have raised the cost per item by 20 percent. Can you see any way in which the philosophy with regard to pay and working conditions at Alta Gracia might lower costs in the long run?
Write a java application that allows user to play blackjack : Write a Java application that allows a user to play Blackjack against the computer. The computer will act as the house, dealing the cards and paying when you win.
Organ systems working together to maintain homeostasis : Help with the following grade 12 bio questions Excretory system. Explain why diseases in the kidney are diagnosed by urinalysis? Give an example of two organ systems working together to maintain homeostasis.
Explain the nature of the characters decision : Consider in the short story in which the central character has to make a decision or must take some decisive step that will alter the rest of his life as conciously and as thoroughly as you can, explain the nature of the characters decision
What explains the high level of corruption at siemens : What explains the high level of corruption at Siemens? How did managers engaged in corruption rationalize it?- What do you think would have happened to a manager at Siemens if he or she had taken a stand against corrupt practices?
Degrees of dominance : What are the three degrees of dominance and briefly what happens in each.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd