Okay, I am helping write a game and am stumped trying to figure out the probabilities when rolling dice.
I need to roll a set number of dice and count how many 1s and 2s there are (the rolls are not added together). The tricky bit is that rolling a 1 allows another die to be rolled, if that rolls a 1 another die is rolled etc.
Can anyone tell me the equation I need to calculate these probabilities?
Also what would the average number of 1s and 2s rolled if I have a varying number of starting dice?
I need to roll a set number of dice and count how many 1s and 2s there are (the rolls are not added together). The tricky bit is that rolling a 1 allows another die to be rolled, if that rolls a 1 another die is rolled etc.
Can anyone tell me the equation I need to calculate these probabilities?
Also what would the average number of 1s and 2s rolled if I have a varying number of starting dice?
Comment