Find Jobs
Hire Freelancers

Dice Rolling competition results

$20-25 USD

Closed
Posted over 21 years ago

$20-25 USD

Paid on delivery
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.
Project ID: 2892683

About the project

10 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average $16 USD for this job
User Avatar
See private message.
$21.25 USD in 14 days
4.9 (178 reviews)
6.8
6.8
User Avatar
See private message.
$21.25 USD in 14 days
4.9 (89 reviews)
6.7
6.7
User Avatar
See private message.
$17 USD in 14 days
5.0 (76 reviews)
6.5
6.5
User Avatar
See private message.
$15.30 USD in 14 days
4.2 (111 reviews)
4.4
4.4
User Avatar
See private message.
$17 USD in 14 days
4.1 (3 reviews)
2.1
2.1
User Avatar
See private message.
$10.20 USD in 14 days
5.0 (3 reviews)
0.7
0.7
User Avatar
See private message.
$14.45 USD in 14 days
5.0 (1 review)
0.0
0.0
User Avatar
See private message.
$17 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 14 days
0.0 (1 review)
0.0
0.0
User Avatar
See private message.
$15.30 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Nov 12, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.