Find Jobs
Hire Freelancers

Characters of the West C++ Program

$10-30 USD

취소됨
게시됨 거의 7년 전

$10-30 USD

제출할때 지불됩니다
The program must meet all constraints and needs three bonuses. A bonus for example is an input validation. I need it done as soon as possible. Problem. A Person class holds the first and last name of a person. In addition to it’s constructors, it has a Show() method that displays both names and other class data. It also has a Drink() method which causes the bartender to pour a drink. This method has a 10% chance of getting called every turn. A Gunslinger class derives from the Person class. It has a Draw() method that returns a type double value representing a gunslinger’s draw time (from 1 to 10). The class also has an int member representing the number of notches on the gunslinger’s gun. It has a play() method to generate cards like the PokerPlayer() below. A PokerPlayer class derives virtually from the Person class. It has a Play() method that returns a random number in the range 1 .. 52, representing a card value. The highest card value wins. The PokerPlayer class uses the Person show() function. Define all these classes and methods, along with any other necessary methods. A CardSharp() class is also a child of the Person() class. It has a Draw() method that also returns a draw time, but it is an int ranging from 5 to 15. There is a Play() method which returns a random card, like PokerPlayer(), but part of the time (25%) it will cheat and use a card already used. The Gunslinger() class has a 50% chance of detecting this and shooting the CardSharp(). See the shooting behavior below. Each drink increases the chance of cheating by +5%. Finally, we have a Bartender() class. The Draw() method for this class will cause it to pour a beer. Create a saloon where 4 random players are playing poker. If two players shoot each other, the one with the lowest score wins. Shot players are always killed and replaced with a random player. Every turn display what the various characters are doing while they play poker. The game ends when all the cards are played and the player who has won the most hands is the winner. Constraints. • Include methods for setting object values. • Include in every class a method which will show all the data for that class. • Randomly select a name for each character. • Make sure you have 1 of each class playing to start. Suggested Bonus Features. • Define a Card class with a suit and face value members and use a Card return value for Draw(). The code must run on a Ubuntu 16.04 linux system. It needs to compile with the following g++ -std=c++11 -g -Wall <[login to view URL]>
프로젝트 ID: 14044803

프로젝트 정보

12 제안서
원격근무 프로젝트
활동 중 7년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
12 이 프로젝트에 프리랜서들의 평균 입찰은 $63 USD입니다.
사용자 아바타
Hello I'm interesting your project very well I'm a Good C++, xamarin, OpenCV, Math, Jave, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
$103 USD 2일에
4.9 (459 건의 리뷰)
8.5
8.5
사용자 아바타
Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !
$100 USD 1일에
4.9 (63 건의 리뷰)
6.7
6.7
사용자 아바타
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$150 USD 2일에
4.8 (71 건의 리뷰)
6.4
6.4
사용자 아바타
need an A grade? contact me
$96 USD 1일에
5.0 (28 건의 리뷰)
5.6
5.6
사용자 아바타
Hi, I hope you will be doing well. I believe on perfect work with 100% satisfaction of my client then payment. I deliver only exceptionally robust and well-designed work as a rule to my client. I understand your project and I am confident that I can do your project with great accuracy and 100% efficiency. I have seven years programming/teaching experience in Java/ C++/ C/Matlab/Software Architecture/ C#/Algorithm Design and Analysis. I am software developer and providing software solutions to my client from last seven years. I will provide you quality work with 100% accuracy. I want to do best to best work for my client, gain 100% satisfaction and quality work. You can trust me and consider me for your project. I am also faculty member (Instructor) at Computer Science and Engineering Department in FAST-NUCES National University Pakistan since February 2013. Thanks! Best Regards, Engr. Shahi
$100 USD 5일에
4.7 (42 건의 리뷰)
4.9
4.9
사용자 아바타
Hello sir, I am interested in your project. I have been providing my service since 2 years and would like to do the same for you as well. I have read the description about the project. It will take less than 6 hours from now. I am excited for the project, I really want to do it. I am going to use my knowledge of c++ to create the program you need. And yes it will compile on Ubuntu systems with g++. If you have any questions regarding the project or anything please feel free to message me I will be replying you at any time. Thank you.
$25 USD 1일에
5.0 (25 건의 리뷰)
4.2
4.2
사용자 아바타
i am an experienced c,c++ programmer and developed codes for windows, linux and mac os x platforms. u can visit my profile to view my related tasks.
$30 USD 1일에
4.9 (8 건의 리뷰)
3.7
3.7
사용자 아바타
From what it looks like its a homework question. I can complete it in a few hours and if awarded quickly can be submitted to you today. It's a really easy task for a C++ software developer like me. You should pick for the communication rather than a pakistani kid.
$30 USD 2일에
0.0 (0 건의 리뷰)
2.2
2.2
사용자 아바타
Hello, I am confident I can get this done for you by tomorrow. Do you have a link/pdf with more details on the project? Regards, Sam
$42 USD 1일에
0.0 (0 건의 리뷰)
0.0
0.0
사용자 아바타
A proposal has not yet been provided
$30 USD 1일에
0.0 (0 건의 리뷰)
0.0
0.0
사용자 아바타
I recently completed a small project involving inheritance in C++, so I am familiar with the topic and using virtual methods. Additionally, I can run the program on Ubuntu using the specified command to make sure my program will work on the type of computer you requested.
$25 USD 1일에
0.0 (0 건의 리뷰)
0.0
0.0
사용자 아바타
Had a done a lot of programming tasks, during my life. I just graduated uni last year. I started programming when i was 10.
$25 USD 1일에
0.0 (0 건의 리뷰)
0.0
0.0

고객에 대한 정보

국기 (UNITED STATES)
Folsom, United States
5.0
1
결제 수단 확인
3월 13, 2017부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.