+ Reply to Thread
Results 1 to 10 of 10

Thread: Another game designer dice question...

  1. #1
    Points: 14, Level: 1
    Level completed: 27%, Points required for next Level: 36

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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. #2
    Devorador de queso
    Points: 95,889, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,937
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    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.
    I don't have emotions and sometimes that makes me very sad.

  3. #3
    Points: 14, Level: 1
    Level completed: 27%, Points required for next Level: 36

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Another game designer dice question...

    Quote Originally Posted by Dason View Post
    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. #4
    Points: 14, Level: 1
    Level completed: 27%, Points required for next Level: 36

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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. #5
    Devorador de queso
    Points: 95,889, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,937
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    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"
    I don't have emotions and sometimes that makes me very sad.

  6. #6
    Points: 14, Level: 1
    Level completed: 27%, Points required for next Level: 36

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Another game designer dice question...

    Quote Originally Posted by Dason View Post
    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. #7
    Devorador de queso
    Points: 95,889, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Posting AwardCommunity AwardDiscussion EnderFrequent Poster
    Dason's Avatar
    Location
    Tampa, FL
    Posts
    12,937
    Thanks
    307
    Thanked 2,630 Times in 2,246 Posts

    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.
    I don't have emotions and sometimes that makes me very sad.

  8. #8
    Points: 1,470, Level: 21
    Level completed: 70%, Points required for next Level: 30

    Posts
    50
    Thanks
    0
    Thanked 5 Times in 4 Posts

    Re: Another game designer dice question...

    Quote Originally Posted by hazard View Post
    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. #9
    Points: 1,470, Level: 21
    Level completed: 70%, Points required for next Level: 30

    Posts
    50
    Thanks
    0
    Thanked 5 Times in 4 Posts

    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. #10
    Points: 1,470, Level: 21
    Level completed: 70%, Points required for next Level: 30

    Posts
    50
    Thanks
    0
    Thanked 5 Times in 4 Posts

    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

+ Reply to Thread

           




Posting Permissions

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






Advertise on Talk Stats