Find Jobs
Hire Freelancers

A Small Project

$30-250 USD

Teljesítve
Kiadva ekkor: több mint 7 évvel ezelőtt

$30-250 USD

Teljesítéskor fizetve
This program should allow a user to play four different games and keep track of the total winnings or losses for each game. In addition, the casino will add the following percentage of winnings to each player: Total Winnings: Additional Percentage of Winnings: $20.00 or less 1.3% $20.01 to $300.00 1.7% $300.01 to $600.00 2.2% More than $600 3.3% The Games: 1. Roulette: A roulette wheel has slots numbered from 1 to 36 along with a 0 slot and a 00 slot. Allow the user to either bet on a specific slot which pays 35 to 1 (that is, for ever $1 bet, the user wins $35) or allow the user to bet on even or odd which pays 1 to 1. If an even or odd bet is placed and the wheel comes up 0 or 00, the player loses. 2. Chuck-a-luck Five dice are rolled. The user bets on a specific number from 1 to 6. Count the number of the five dice that match the user's number. If there is at least one matching number, the user wins the number of matching numbers * bet amount. If none of the 5 dice match the user's number, the user loses their bet. For example, if the user bets on 4 and the dice come up 2 4 2 4 5, the user wins two times the bet amount. 3. Pick 4: The user selects four digits from 0 to 9 to bet on. Four random numbers from 0 to 9 are then picked and the number of matching numbers are found. If the user gets no matching numbers, the user loses their met. If the user gets 1 matching number, the user breaks even, If the user gets 2 matching numbers, the user wins double their bet amount. If the user gets 3 matching numbers, the user wins four times their bet amount. If the user gets all 4 matching numbers, the user wins fifty times their bet amount. For example, the user picks 7, 1, 4, 2 and the random numbers come up as 7, 4, 1, 2, the user matched two numbers and wins double their number. 4. A Game of Your Choice (Creativity Chance): Please include documentation (comments) stating the rules for your game and how the betting is done. ------ For each game, first ask the user how many times they would like to play the game along with their full name. Please make sure to include output for each of the four games. For each game, print out the player's name, the results of each game played, the total winnings/losses, the additional winnings paid by the casino if any, and the total winnings/losses with the additional winnings paid by the casino if any. The program should use virtual functions including at least one pure virtual function with polymorphism. The program should have one class for each game along with a base-class that contains the appropriate data members and methods. I have added a few example programs. Price: $65 Due Date: Tuesday, December 6th at 10 PM PST Sample Output for Roulette, the other 3 games should be similar: What is your full name? Joe Gambler How many times would you like to play Roulette? 3 Roulette Game 1 How much would you like to bet? 10 Would you like to bet on a specific number (N) or on odd/even (O)? N What number would you like to bet on? 25 The wheel came up on 12. You lose $10.00 Roulette Game 2 How much would you like to bet? 30 Would you like to bet on a specific number (N) or on odd/even (O)? O Are you betting on even (E) or odd (O)? O The wheel came up on 17. You lose $30.00 Roulette Game 3 How much would you like to bet? 10 Would you like to bet on a specific number (N) or on odd/even (O)? N What number would you like to bet on? 00 The wheel came up on 33. You lose $10.00 Final results for Joe Gambler after 3 games of Roulette: Joe Gambler won a total of $10.00 The casino will add a bonus of 1.3% to your winnings The casino bonus is $0.13 Joe Gambler total winnings are $10.13
Projektazonosító: 12285715

A projektről

4 ajánlat
Távolról teljesíthető projekt
Aktiválva: 7 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
Easy project for me to finish need 2-3 hours only
$66 USD 1 napon belül
4,8 (4 értékelés)
2,3
2,3
4 szabadúszó adott átlagosan $73 USD összegű árajánlatot erre a munkára
Felhasználó avatár
Hello My name is Ahmed, i'm a top rated freelancer. i worked over 250 projects and over 600 hours doing C++ and Java projects. small overview of feedback on my profile "you want to get your projects completed with quality? Hire Ahmed. Highly recommended." "Thoroughly satisfied with Ahmed, and would recommend him for anyone looking for an excellent developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$50 USD 2 napon belül
5,0 (26 értékelés)
4,0
4,0
Felhasználó avatár
I have an experience working as Developer for last 3+ years. Comfortable working on C++. I have gone through the description posted here and interested in working on this project. Thank You. Looking forward to work with you.
$111 USD 3 napon belül
5,0 (1 értékelés)
2,0
2,0
Felhasználó avatár
We are team of excellent developers and writers. We have 2 year experience related to your project field. We can do your project and solve your all problems according to your requirements. We have read your description for projects and we understand what you want so we are confident that we can do it easily in mention time. We assure you that you will be completely satisfy with our work. And after delivering your project if you feel some issue in understanding the projects then we will teach you free until you understand. If you have any question then feel free to ask. We are here for you. Thank you
$64 USD 3 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
Hi, I am reaching out to you because I work with LGR Techs, This is something completely in our work reach. We have been told to have the best graphics , But hey, Let's chat about your project. I can put you in contact with our Technical lead and I will have him work around your budget, I look forward to hearing from you. Thanks,
$277 USD 15 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
A proposal has not yet been provided
$155 USD 3 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

UNITED STATES zászlója
Santa Ana, United States
4,9
12
Fizetési mód hitelesítve
Tagság kezdete: máj. 15, 2016

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.