BlackJack game written in C#

Completado Publicado Mar 29, 2011 Pagado a la entrega
Completado Pagado a la entrega

It will put one player against the computer. The player will be able to wage money on the game. The game will continue until the player does not want to play anymore or he/she runs out of money.

This program will start with a screen that says “Welcome to CIS 126 Blackjack”. Show this message for three seconds, clear the screen, and then go to the following prompt:

How much are you money are you playing with today? 1000

The user will then enter how much money they are playing with.

A sample execution of the program is as follows:

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: 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. Good bye.

Rules

1. The computer's cards should have a sleep of one second between each card to give it some suspense.

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

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

4. The deck is 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.

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

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

7. Blackjack, a total of 21 on your first two cards, pays 3:2

8. Advanced playing (such as doubling down, splitting pairs) IS NOT required.

Programación en C

Nº del proyecto: #1003710

Sobre el proyecto

5 propuestas Proyecto remoto Activo Mar 30, 2011

Adjudicado a:

VileGnosis

Details in PMB

$40 USD en 0 días
(84 comentarios)
6.1

5 freelancers están ofertando un promedio de $34 por este trabajo

it2051229

Hi, kindly check your inbox for my inquiries. Thanks.

$30 USD en 0 días
(34 comentarios)
4.5
decato0110

hi, i can do this job well

$30 USD en 1 día
(4 comentarios)
3.7
noobcoder

I think this task is very easy for me. Pls check your inbox

$30 USD en 1 día
(0 comentarios)
0.0
weedmanbg92

Hello, please check your PMB.

$40 USD en 1 día
(1 comentario)
0.0