# Thread: Another game designer dice question...

1. ## Another game designer dice question...

Firstly I want to introduce myself. My name is Daniel and I am a game designer (http://www.hazardgaming.com) when I'm not teaching mathematics. I can (mostly) crunch the numbers I need but I learned when I was writing my first game that I can't do it anywhere near as efficiently as a statistician.

I hope this one's a little different to the usual questions.

I'm currently working on a fantasy game, specifically the magic system. To determine success dice are rolled. The dice "pool" will vary depending on the circumstances.

The dice will be the Platonic solids plus a ten sided die.

What I'm hoping is to determine if there is a very efficient way to determine the distributions when rolling various combinations of these.

For example I want to compare the distribution of 2d12 vs 3d8 vs 4d6 vs 6d4. All have the same maximum but different distributions. I'd like to compare the % values for each outcome for each "pool".

Ultimately I'd like to fiddle with the pools and may want to even create heterogeneous pools.

Is there any super efficient way to do this, or even a programme that will allow these details to be entered and generate a distribution?

2. ## Re: Another game designer dice question...

It's not too hard to do with any programming language (or even in excel). But with that said it sounds like http://anydice.com/ should do what you're interested in.

3. ## Re: Another game designer dice question...

Originally Posted by Dason
It's not too hard to do with any programming language (or even in excel). But with that said it sounds like http://anydice.com/ should do what you're interested in.
It's perfect. Thank you.

4. ## Re: Another game designer dice question...

I've found anydice to be excellent for calculating exactly what I'm after from a single standpoint, as in I want to turn straw into gold what are the chances.

Now what say there are two guys who want to move an object to the left and the right respectively. In this case is there an easy way to calculate which will "win" the most times.

A specific example:

One guy rolls 4d6 and the other guy rolls 6d4. Which guy has the advantage and by how much? I can compare the graphs and get an estimate but I'd like to know exactly.

I feel like this might actually be quite complex but then again "complex" is relative.

5. ## Re: Another game designer dice question...

The documentation goes into this. You could use something like
Code:
``````output 6d4 = 4d6 named "How often do they tie?"
output 6d4 > 4d6 named "How often does 6d4 win?"
output 6d4 - 4d6 named "Distribution of how much 6d4 beats 4d6 by"``````

6. ## Re: Another game designer dice question...

Originally Posted by Dason
The documentation goes into this. You could use something like
Code:
``````output 6d4 = 4d6 named "How often do they tie?"
output 6d4 > 4d6 named "How often does 6d4 win?"
output 6d4 - 4d6 named "Distribution of how much 6d4 beats 4d6 by"``````
So what you're saying, and correct me if I'm wrong, is read the instructions.

Thank you once again.

7. ## Re: Another game designer dice question...

Ha. I wasn't saying that explicitly but I guess it wouldn't be a bad idea. I mean if you're interested in how one would calculate these things directly (without using anydice) we can certainly discuss that but the inner workings of the site are probably best left to the documentation.

8. ## Re: Another game designer dice question...

Originally Posted by hazard
What I'm hoping is to determine if there is a very efficient way to determine the distributions when rolling various combinations of these.

For example I want to compare the distribution of 2d12 vs 3d8 vs 4d6 vs 6d4. All have the same maximum but different distributions. I'd like to compare the % values for each outcome for each "pool".

Ultimately I'd like to fiddle with the pools and may want to even create heterogeneous pools.

Is there any super efficient way to do this, or even a programme that will allow these details to be entered and generate a distribution?
There's a nice generating algorithm here:
http://mathforum.org/library/drmath/view/52207.html

It worked well for me.

Art

9. ## Re: Another game designer dice question...

For those interested in having or writing a program that
forms dice distributions and compares them .... I've
written a js program and included it's code here:
http://home.ptd.net/~artnpeg/dicecomp.htm

Art

10. ## Re: Another game designer dice question...

Back again
I've written a js program aimed at gamers interested in finding
and setting odds on dice rolls. It finds cumulative probabilities
over a range of sums that can be set by the user. It contains
a download link for those interested in having the source codes.
http://home.ptd.net/~artnpeg/diceroll.htm

 Tweet

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts