AnyDice Program

By Undeadguy, in Star Wars: Armada

So I've been looking for a way to display die results based on a number of factors, and I can't seem to find or create one. The language barrier is too strong and I don't have the patience to learn it.

However, for the math wizards and code monkeys, I found a website that allows you to create code for die results. I know basic code so I might dabble in this, but I wanted to share it to the community and see what people create.

Here is the site: http://anydice.com/

I was hoping to create an algorithm that you can input the number of dice based on color, reroll blanks, reroll excessive Acc, remove blanks and change die faces, and adding dice.

There is a SW dice app on phones by FFG that costs 5$

I don't think he is talking a rolling program, he is talking a damage variance tool if I am not mistaken.

Like a program to tell you the exact amount of average damage with 3 red dice and 2 blue with options to add rerolls for misses and redundant accuracies with leading shots, which would spit out a number or perhaps a chart of expected results along the bell curve. So you could know before you roll a single dice what your % chance of hitting 2, 3, 5 however many damage with a single attack is.

It's a tool for netlisting your damage output to give you the best statistical damage/point ratio your list can pump out.

Oh nice, I'll take a look. I've been putting together something in VBA when work has been slow to do this, maybe one day I might finish it.

I don't think he is talking a rolling program, he is talking a damage variance tool if I am not mistaken.

Like a program to tell you the exact amount of average damage with 3 red dice and 2 blue with options to add rerolls for misses and redundant accuracies with leading shots, which would spit out a number or perhaps a chart of expected results along the bell curve. So you could know before you roll a single dice what your % chance of hitting 2, 3, 5 however many damage with a single attack is.

It's a tool for netlisting your damage output to give you the best statistical damage/point ratio your list can pump out.

Yea this is what I meant. I enjoy computing data and the dice in Armada is fairly simple and fun to go through.

I have a Python Monte Carlo script I use for this: https://github.com/sprintska/SWAM

Mind if I port to PHP and throw it up on KDY?

Not at all. Can't remember which version is up there, so... Maybe some assembly required. :)

I have a Python Monte Carlo script I use for this: https://github.com/sprintska/SWAM

That reminds me - I probably should send you (or post) my version. It's still half-baked, but allows to check probabilities vs different opponent ships and checks vs Gozantis scatter.

I have a Python Monte Carlo script I use for this: https://github.com/sprintska/SWAM

That reminds me - I probably should send you (or post) my version. It's still half-baked, but allows to check probabilities vs different opponent ships and checks vs Gozantis scatter.

Half-baked is the standard MO for that project. Go ahead and make a request when you get a chance and I'll merge them.

best function name ever: "soDumb()";