Find Jobs
Hire Freelancers

Dice Rolling competition results

$20-25 USD

Fechado
Publicado há mais de 21 anos

$20-25 USD

Pago na entrega
I want a program that will let me calculate all the possible outcomes of the following scenario: Player 1 rolls X dice with N sides each. Player 2 rolls Y dice with N sides each. The numerical result of the competition is an integer division of Player 1's total roll by Player 2's total roll. (higher results being a better outcome for Player 1) I want to know the mean and median result of each X/Y/N combination within at least the range of 1-8 for X and Y and 1-20 for N. I want to be able to view a chart of every possible outcome. At the end of this description is a hand generated sample of some of what I want to see for X=2, Y=1, N=6. It is only a guideline of the minimal information I want. I want it in a graphical interface. I want all of the charts for a given range of X/Y/N variables to be calculated at once so that they can be browsed on the fly. The source must be in well commented ANSI C or C++. The location of the function that calculates the results (a simple integer divide in this example) should be easily visible as it will be changed often. * * * Player 1 Total 2 3 3 4 4 4 5 5 5 5 6 6 6 6 6 7 7 7 7 7 7 8 8 8 8 8 9 9 9 9 10 10 10 11 11 12 1 2 3 3 4 4 4 5 5 5 5 6 6 6 6 6 7 7 7 7 7 7 8 8 8 8 8 9 9 9 9 10 10 10 11 11 12 2 1 1 1 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 5 5 5 5 5 6 P 3 0 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 4 2 4 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 5 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 6 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 Result Occurences 0 20 1 79 2 45 3 23 4 13 5 9 6 6 7 6 8 5 9 4 10 3 11 2 12 1 Average Player 2 total: 3.5 Average Player 1 total: 7.0 Average Result: 2.56 ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Something to put in the #2 spot on this list when I dont want an installer... 3) Complete ownership and distribution copyrights to all work purchased. ## Platform The GUI should work in Windows, the complete source should compile under at least one major Win32 compiler, and the non-GUI portions of the source should compile under the GCC C or C++ compiler. ## Deadline information This should be an easy task, I will only be accepting bids for a day or until I get a really good one, whichever comes first. The delivery deadline is very short.
ID do Projeto: 2892683

Sobre o projeto

10 propostas
Projeto remoto
Ativo há 21 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
10 freelancers estão ofertando em média $16 USD for esse trabalho
Avatar do Usuário
See private message.
$21,25 USD em 14 dias
4,9 (178 avaliações)
6,8
6,8
Avatar do Usuário
See private message.
$21,25 USD em 14 dias
4,9 (89 avaliações)
6,7
6,7
Avatar do Usuário
See private message.
$17 USD em 14 dias
5,0 (76 avaliações)
6,5
6,5
Avatar do Usuário
See private message.
$15,30 USD em 14 dias
4,2 (111 avaliações)
4,4
4,4
Avatar do Usuário
See private message.
$17 USD em 14 dias
4,1 (3 avaliações)
2,1
2,1
Avatar do Usuário
See private message.
$10,20 USD em 14 dias
5,0 (3 avaliações)
0,7
0,7
Avatar do Usuário
See private message.
$14,45 USD em 14 dias
5,0 (1 avaliação)
0,0
0,0
Avatar do Usuário
See private message.
$17 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
See private message.
$12,75 USD em 14 dias
0,0 (1 avaliação)
0,0
0,0
Avatar do Usuário
See private message.
$15,30 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
0,0
0
Membro desde nov. 12, 2002

Verificação do Cliente

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.