BlackJack game written in C#/C++

Sedang Disiapkan Disiarkan Jul 9, 2009 Dibayar semasa penghantaran
Sedang Disiapkan Dibayar semasa penghantaran

**Needed by July 16th**

Project Description:

The project will simulate a blackjack game. One player (the user) will play against the computer. The player will be able to wager money on the game. The game will continue until the player does not want to play anymore or he/she runs out of money.

The program should start with a screen that says "Welcome to Blackjack". This message should be displayed for three seconds, the screen should then clear, and then go to the following prompt:

You have 1000 available for wagers. Have fun!

Use the following sample program execution to help you design the program:

What is your wager? 10001

Sorry, you can't wager 10001, you only have 1000 left

What is your wager? 2

Sorry, the minimum bet for this table is 10

What is your wager? 50

Your cards are 5, 10

Your sum is 15. Would you like to hit(H) or stay(S)? H

You got a J.

Your sum is 25. You lose this game. You have $950 left.

Score: Computer=1, Player=0

Would you like to play again? (Y/N?): Y

What is your wager? 950

Your cards are J, Q

Your sum is 20. Would you like to hit(H) or stay(S)? S

Computer's cards are: 6, 7, 5, 3

Computer got 21

You lose this game. You have $0 left

Score: Computer=2, Player=0

You do not have anymore money to play. Thank you for playing.

Rules:

If the dealer's sum is less than 17, the dealer must take another card.

If the dealer's sum is 17 or above, the dealer must stand.

The deck has 52 cards in it. Cards cannot be reused. Cards must be generated using some random number. You will need to keep track of the number and type of cards played. If all 52 cards are played, then you will need to reshuffle the deck.

Assume Ace is always 11, unless you are over, then assume it is 1.

The program will always ask the user to play again, unless the user has no more money to play.

Requirements:

Use at least two functions/procedures (not including main)

Use an array

Use proper naming convention, spacing and indentation in your source code

Your code should be well commented, with proper naming conventions and spacing

Include flowcharts with your project. The flowcharts must match your code

Include a "User Instructions" document that explains to a new user how to use your program. Be sure your document is professional looking, with proper grammar and spelling

Submit your source file(s), User Instructions document and data files (if you use them)

You will need to use an array to hold the deck. An array of 52 will work fine.

Please use a getchar() after each scanf to get rid of the newline.

**Needed by July 16th**

Pengaturcaraan C

ID Projek: #466079

Tentang projek

31 cadangan Projek jarak jauh Aktif Jul 17, 2009

Dianugerahkan kepada:

smallet

Hi, I am interested in your project.

$40 USD dalam sehari
(0 Ulasan)
0.0

31 pekerja bebas membida secara purata $74 untuk pekerjaan ini

qtorixsystems

I can help u in this .. but ur budget is low. anyways contact me

$250 USD dalam 3 hari
(12 Ulasan)
5.8
fstudio

Dear sir, I can do it for you, Could you see PMB for more details? Thanks. Best Regards.

$60 USD dalam 2 hari
(55 Ulasan)
5.6
srinichal

I can do the simulation as desired

$80 USD dalam 3 hari
(58 Ulasan)
6.0
Wadjet

Hello, Please Check PMB

$50 USD dalam sehari
(29 Ulasan)
5.0
KelvinChen

Please check PM for details

$80 USD dalam 2 hari
(5 Ulasan)
3.6
alexx88

Hello! I am interested in completing your project. Please check your PM. Cheers, Alex

$30 USD dalam 2 hari
(16 Ulasan)
3.8
akshayfastin

Please check my PM for details.

$225 USD dalam 4 hari
(3 Ulasan)
3.6
JavaBeau

Let's start:) Please check PMB:)

$60 USD dalam 3 hari
(6 Ulasan)
3.3
coderTim

Hello buddy, please check your PMB.

$50 USD dalam sehari
(4 Ulasan)
2.7
at0

Please, kindly check PMB. Thanks,

$40 USD dalam sehari
(4 Ulasan)
2.8
UltimateJob

Hi, Plz check PMB. Regards

$250 USD dalam 2 hari
(1 Ulasan)
1.2
yassir2

check out pm

$30 USD dalam 0 hari
(1 Ulasan)
1.4
CourageousMan

Please see your pmb. Regards.

$30 USD dalam 4 hari
(1 Ulasan)
0.0
LajosArpad

Hello, I can make Your project quickly, I'm expert in C++, the source code will be beautiful.

$30 USD dalam sehari
(0 Ulasan)
0.0
Perfunction

I have a bachelor's degree in computer science and work full-time as a software developer. I also have a great eye for documentation design and strong English skills.

$50 USD dalam sehari
(0 Ulasan)
0.0
vladi88

I think I'll manage

$40 USD dalam 2 hari
(0 Ulasan)
0.0
gerald4it

I am a game C++ game programmer for past 1.5 yrs. Like to work in this project. -Gerald

$150 USD dalam 15 hari
(0 Ulasan)
0.0
backlite

We can do the job.

$50 USD dalam 20 hari
(0 Ulasan)
0.0
sam1487

I can do it for you. Please check PM. Thanks

$30 USD dalam 4 hari
(0 Ulasan)
0.0
kraxor

Hi, I can provide you with a game that works as you described. I always produce well-formed source code. The program will be written in C++, as per requested. Please PM if interested, I can start right away and will fi Lagi

$33 USD dalam 0 hari
(1 Ulasan)
0.0