Find Jobs
Hire Freelancers

Dice Rolling competition results

$20-25 USD

Cerrado
Publicado hace más de 21 años

$20-25 USD

Pagado a la 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 del proyecto: 2892683

Información sobre el proyecto

10 propuestas
Proyecto remoto
Activo hace 21 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
10 freelancers están ofertando un promedio de $16 USD por este trabajo
Avatar del usuario
See private message.
$21,25 USD en 14 días
4,9 (178 comentarios)
6,8
6,8
Avatar del usuario
See private message.
$21,25 USD en 14 días
4,9 (89 comentarios)
6,7
6,7
Avatar del usuario
See private message.
$17 USD en 14 días
5,0 (76 comentarios)
6,5
6,5
Avatar del usuario
See private message.
$15,30 USD en 14 días
4,2 (111 comentarios)
4,4
4,4
Avatar del usuario
See private message.
$17 USD en 14 días
4,1 (3 comentarios)
2,1
2,1
Avatar del usuario
See private message.
$10,20 USD en 14 días
5,0 (3 comentarios)
0,7
0,7
Avatar del usuario
See private message.
$14,45 USD en 14 días
5,0 (1 comentario)
0,0
0,0
Avatar del usuario
See private message.
$17 USD en 14 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$12,75 USD en 14 días
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
See private message.
$15,30 USD en 14 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
0,0
0
Miembro desde nov 12, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos 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)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.