Find Jobs
Hire Freelancers

A Small Project

$30-250 USD

Fechado
Publicado há mais de 7 anos

$30-250 USD

Pago na entrega
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
ID do Projeto: 12289286

Sobre o projeto

16 propostas
Projeto remoto
Ativo há 7 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
16 freelancers estão ofertando em média $96 USD for esse trabalho
Avatar do Usuário
Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
$50 USD em 1 dia
5,0 (638 avaliações)
7,3
7,3
Avatar do Usuário
A proposal has not yet been provided
$160 USD em 5 dias
4,9 (318 avaliações)
7,2
7,2
Avatar do Usuário
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is 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.
$100 USD em 2 dias
4,8 (125 avaliações)
6,8
6,8
Avatar do Usuário
Dear sir/madam, I am experienced software developer (please check my freelancer profile and customer reviews for more details) and I can complete this project for you. I make warranty for providing clean, readable, well-tested, well-commented, professionally written code. Please do not hesitate to ask me any questions you need to make sure I am the right person for this project. We can discuss all details in the private chat. Please do not hesitate to leave any information or questions in the private chat even when if I am offline , be sure, I will read them and respond to you as soon as possible.
$90 USD em 2 dias
5,0 (73 avaliações)
6,2
6,2
Avatar do Usuário
hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact me. Then, I will give you good result to the proposals. hire me.
$155 USD em 3 dias
5,0 (26 avaliações)
5,7
5,7
Avatar do Usuário
Hi, I can help you on this project. .
$30 USD em 1 dia
5,0 (65 avaliações)
5,8
5,8
Avatar do Usuário
Hi, I have Master Degree in Computer Science. and great experience in C++. I checked the details of pick 4 Game and the task is clear for me. All of the my employees are satisfied with the quality and speed of my work. See my profile to be sure of this. https://www.freelancer.com/u/zabolotniipavel.html If you want to get a quality result done on time - hire me. It will be the best solution for you work. I can start the work right now. Don't lose your money and time. contact me please for more information. Best regards, Pavel.
$50 USD em 2 dias
4,9 (44 avaliações)
5,1
5,1
Avatar do Usuário
Very easy project for me. Need only 2-3 hours to finish. .................................. ........................................... ......................................................
$50 USD em 3 dias
4,9 (27 avaliações)
4,3
4,3
Avatar do Usuário
Hi there! I am suitable to solve the project. What is the due? Contact me if you are interested. Regards, Valentin
$55 USD em 3 dias
5,0 (10 avaliações)
3,3
3,3
Avatar do Usuário
Hi I can do this for you. I can have a demo to you by tomorrow ready for final approval. I look forward to working with you. Thanks, Mark
$50 USD em 3 dias
4,9 (3 avaliações)
3,2
3,2
Avatar do Usuário
I have been working as a software developer for more than one and half year on C++ and having good knowledge on algorithms and data structures and good problem solving skills
$150 USD em 7 dias
5,0 (2 avaliações)
2,1
2,1
Avatar do Usuário
Dear Sir, em a programmer and java/c++ developer, have recently worked on three java assignment and completed before allocated time. You may please review the comments on my profile to know about my previous work.. I have been working n an IT company on similar projects for 6 years. I am new here and having very less project on my profile but i do have offline work that i may show you for your satisfaction to hire me and get ur application done in given time and less cost. I do believe in long term business relationship. Please approve my bid so that i may start working on your application.
$30 USD em 1 dia
5,0 (1 avaliação)
1,6
1,6

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
0,0
0
Membro desde dez. 6, 2016

Verificação do Cliente

Outros trabalhos deste cliente

Write some Software
$10-30 USD
Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.