PDA

View Full Version : Opposed Rolls Statistics



Preaplanes
2013-04-18, 02:29 AM
Assuming perfectly random rolls, what are the chances one dice roll beats another, or more to the point, is there any formula or program that one could easily plug the variables in and find out the chance for win/draw/loss for two opposed rolls?

For example

1d6 vs 1d6: 41.66, 16.66, 41.66
1d6 vs 2d6: 9.26, 6.94, 83.80

If there's a way to do it on Anydice that would give clear answers, that would work marvelously, but I'm not so savvy when it comes to that script.

Oh, final thing: I'd like it if it could work beyond simple permutations, so able to figure out, say, 4d12+1d3 vs 3d6+2d10+2.

Thank you for your answers ahead of time. :smallsmile:

TuggyNE
2013-04-18, 02:49 AM
Just do something like this:
output 1d20+15 > 1d20+8
output 1d20+15 = 1d20+8

The first 0 is the loss, first 1 is win, second 1 is draw. (Second 0 is useless.)

Preaplanes
2013-04-18, 02:54 AM
Just do something like this:
output 1d20+15 > 1d20+8
output 1d20+15 = 1d20+8

The first 0 is the loss, first 1 is win, second 1 is draw. (Second 0 is useless.)

Oh, that does it! Thanks! :smallbiggrin: Mind you, it's best to calculate them one at a time, otherwise you end up with an "equal to or less than".