Find Jobs
Hire Freelancers

BlackJack in C

$30-250 USD

Berlangsung
Dibuat lebih dari 14 tahun yang lalu

$30-250 USD

Dibayar ketika dikirim
This needs to be written in standard C. Not C++! _____________________________________________________ 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 CIS126 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 your 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 Hints: * You will need to use an array to hold the deck. An array of 52 will work fine. * Since we are using characters, we will need to use a getchar() after each scanf to get rid of the newline.
ID Proyek: 466253

Tentang proyek

19 proposal
Proyek remot
Aktif 15 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
It's very easy for me. I'm very experienced in this kind of projects. The whole application will be prepared within a few hours. Choose me and you won't be disappointed! Best quality guaranteed!
$30 USD dalam 1 hari
5,0 (1 ulasan)
1,0
1,0
19 freelancer menawar dengan rata-rata $39 USD untuk pekerjaan ini
Avatar Pengguna
Hello, I'm professional game developer and I've strong experience in C and C++. I've been working on two commercial titles and I can do your task with perfect quality. Writing your program will be no problem for me, and I already know how to do it. It will be perfectly easy for me to create that console application. Looking forward to work with you! Best regards, Lubomir Russev
$50 USD dalam 1 hari
5,0 (6 ulasan)
3,8
3,8
Avatar Pengguna
Hello buddy, I can definitely do this project. Please check your PMB.
$50 USD dalam 1 hari
4,9 (4 ulasan)
2,7
2,7
Avatar Pengguna
Can be done within few hours
$30 USD dalam 0 hari
5,0 (1 ulasan)
1,4
1,4
Avatar Pengguna
Hello, I'm C expert and I'm interested in doing Your project. Regards, Lajos Arpad.
$30 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Hi i can do this program as per your requirement. you will get very best result from your project. hope to discuss in detail about the project.
$50 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
We can do it.
$50 USD dalam 5 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Ready to do the project in C. I can vouch for well commented code. Are my conditions suitable for you?
$65 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Check the PMB pls.
$30 USD dalam 1 hari
0,0 (1 ulasan)
0,0
0,0
Avatar Pengguna
I can do it for you. Please check my PM for details.
$35 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
already done this exercise!
$40 USD dalam 0 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I can do it. Please check my PM for details.
$30 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Easy project, I am C/C++ attested programmer ...
$30 USD dalam 2 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Hi, I am interested in your prjoect.
$40 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
hi, i have done various projects in c/c++, i can do it .......
$50 USD dalam 5 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
you will get the best results
$45 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
****** Your Search Stops Here ****** I have 4 years experience in C/C++ and Game Development Thanks
$30 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
As soon as I seen your project need, I started coding and completed the project. I can give u the exe file whenever u want for demo test.. I have ready with your game and its code. Just reply me as soon as possible to get demo or directly with code.
$30 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Can do it. Please check the pmb.
$30 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
roanoke, United States
5,0
1
Anggota sejak Jul 10, 2009

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.