Skip to main content
Became Hot Network Question
edited tags
Link
HighDiceRoller
  • 7k
  • 1
  • 21
  • 43
edited title
Link

Odds for rolling Highest die in a standard dice pool againstafter eliminating dice vs a rerolling, exploding, dice pool

added 4 characters in body
Source Link

1:Roll xd6 vs xd6.

2: The first pool is a regular pool, the second pool rerolls 1s(even on rerolls) and explodes on 6s(The exploding die does not reroll on a 1, but it can explode again).

4: Continue until there are no dice in the one of the pools, or every dice in the first pool is larger than the dice remaining in the second pool.

I am not really a coder, so I would appreciate some more experienced eyes taking a look at this function to see if my logic is correct. I don't want to keep waiting for my output and redoing my spreadsheets if I screwed something up.

1:Roll xd6 vs xd6

2: The first pool is a regular pool, the second pool rerolls 1s(even on rerolls) and explodes on 6s(The exploding die does not reroll on a 1, but it can explode again)

4: Continue until there are no dice in the one of the pools, or every dice in the first pool is larger than the dice remaining in the second pool

I am not really a coder, so I would appreciate some more experienced eyes taking a look at this function to see if my logic is correct. I don't want to keep waiting for my output and redoing my spreadsheets if I screwed something up

1:Roll xd6 vs xd6.

2: The first pool is a regular pool, the second pool rerolls 1s(even on rerolls) and explodes on 6s(The exploding die does not reroll on a 1, but it can explode again).

4: Continue until there are no dice in the one of the pools, or every dice in the first pool is larger than the dice remaining in the second pool.

I am not really a coder, so I would appreciate some more experienced eyes taking a look at this function to see if my logic is correct. I don't want to keep waiting for my output and redoing my spreadsheets if I screwed something up.

deleted 3 characters in body
Source Link
Loading
added 36 characters in body
Source Link
Loading
Source Link
Loading