进行中

Write some Software

Blackjack!

Write a Java application that allows a user to play Blackjack against the computer. That is, the computer will act as the house, dealing the cards and paying when you win.

There is a wealth of information on-line about Blackjack, two sites among many that may be useful here are:

[url removed, login to view] (Links to an external site.)

and

[url removed, login to view] (Links to an external site.)

Now, Blackjack comes in many flavors. There is a general set of rules along with optional plays for both the player and dealer. You can implement many possible variations but you must be clear in stating exactly what is and what is not allowed. At the very least you MUST use the following rules:

General:

Only one deck is used and it is shuffled whenever there are less than 12 cards remaining after a hand is completed.

An ace may have value 11 or 1, whichever is more beneficial.

All 4 cards are dealt before any action occurs. The dealer's top card is revealed to the player.

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 in $1.00 increments.

Blackjack pays 1.5 to 1 unless the dealer also has blackjack in which case it’s a push (tie).

Dealer:

Hits 16 or under and stands on all 17s.

Player:

The player may hit on anything or stay on anything.

The player makes their decisions before the dealer.

If the player busts they lose even if the dealer goes on to bust.

As mentioned before, there are many other variations, including doubling down, splitting, surrender possibilities, insurance, and additional variations on splitting. It’s up to you if you want to implement any of these or not. I would focus on getting the basic game working first.

Classes: Along with a test class that will allow us to play your game, your application must include the following classes: Card, Deck, Player, Dealer, Game.

What to hand in:

In addition to the source files for your program include with your submission a text file named [url removed, login to view] with an explanation of what you did. That is, write in plain English instructions for using your software, explanations for how and why you chose to design your code the way you did. The [url removed, login to view] file is also an opportunity for you to get partial credit when certain requirements of the assignment are not met.

Put all of your files into a single folder, compress it into a zip file, and submit it in the usual way.

Add comments please.

技能: Java, PHP, 软件构架

查看更多: software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

About the Employer:
( 0 reviews ) United States

项目ID: #11972849

已悬赏给:

mattbabel

This is definitely something i can do for you pretty flawlessly. If you want clear, concise code that is well documented and easy to read then I'm your guy. I can guarantee you an A on this project I've had straight A' 更多

$40 USD 在4天内
(1条评论)
0.4

5 freelancers are bidding on average $1028 for this job

londonlance

We are a London (Shoreditch) based Fullstack dev studio. Following are some of our recent projects; [url removed, login to view] A social media post scheduler and manager for a startup from Silicon Valley, built us 更多

$2222 USD 在30天内
(33条评论)
7.2
maxpl

Hi, Im web developer from Poland, I have 5+ years of experience in webdesign/ development, WordPress, OperCart, E-commerce, obile Development, SEO and I have done number of projects. I can handle project indep 更多

$555 USD 在8天内
(29条评论)
6.5
$2222 USD 在30天内
(7条评论)
4.7
TKopacz

Hello, Project looks really easy to make. I'm working with documentations on daily basis so writing mentioned readMe file will not be a problem as well. The only thing that would be nice to know is if You need a GUI ( 更多

$100 USD 在7天内
(1条评论)
0.0