C++ program - open to bidding

Анульовано Опубліковано %project.relative_time Оплачується при отриманні
Анульовано Оплачується при отриманні

The program must meet all requirements/constraints. I also need 3 bonus features such as input validations.

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. I needs to compile with the following

g++ -std=c++11 -g -Wall <[url removed, login to view]>

Програмування на С Програмування на C++ Java PHP Powerpoint

ID Проекту: #13828038

Про проект

15 заявок(-ки) Дистанційний проект Остання активність 7 роки(ів) тому

15 фрілансерів(-и) готові виконати цю роботу у середньому за $41

it2051229

Bid Summary Hi there I would like to do this project if given the opportunity. Let me know if you are interested. Thanks. Project Requirements A saloon where 4 random players are playing poker. Relevant Skills and Ex Більше

$35 USD за 1 день
(1424 відгуків(и))
7.8
dobreiiita

Bid Summary Hello I m C++ expert and interested in this project. I have reviewed the details and confident to handle it perfectly. I will keep codes well documented . Please communicate to discuss further. Project R Більше

$45 USD за 1 день
(499 відгуків(и))
7.6
hbxfnzwpf

Bid Summary I can finish the project in very short time. Project Requirements I am c++ program expert, you can fully trust me, I can handle anything in c++. Relevant Skills and Experience I am very proficient in c an Більше

$100 USD за 2 дні(-в)
(146 відгуків(и))
7.0
maksum1

A proposal has not yet been provided

$30 USD за 1 день
(45 відгуків(и))
5.2
achouriissam

Hello, My name is Achouri Issam. I have over three years experience in Software Engineering and i have a good Knowledge with Java, JavaEE,Android,IOS, Spring, Spring MVC, EJB,Struts2, Hibernate, JSP, Servlet , JPA, Більше

$22 USD за 1 день
(25 відгуків(и))
4.9
Techxygen

Bid Summary Hey I have excellent c++ programming skills on linux/ubuntu platform. I have participated in a number of programming competitions and have excellent problem solving skills. Project Requirements OOP concept Більше

$50 USD за 2 дні(-в)
(6 відгуків(и))
4.1
mdeyog

A proposal has not yet been provided

$35 USD за 3 дні(-в)
(1 відгук)
3.3
patilavishkar660

A proposal has not yet been provided

$15 USD за 1 день
(0 відгуків(и))
0.0
souravguchait

A proposal has not yet been provided

$30 USD за 5 дні(-в)
(1 відгук)
0.0
H0ssaM

This letter is to express my interest in your posting on freelancer for for an experienced Software Engineer. With a Bachelor’s degree in Computer Engineering, and hands-on experience using C++, C#, PHP and Java langua Більше

$10 USD за 1 день
(0 відгуків(и))
0.0