Hi captlem66,
Quote:
quote:Originally posted by captlem66
if not the game will end and give how many rounds they went and the probability they would get that far
|
I think the hardest step in your problem is to get the probability,
I think you should solve this,
the numbers of answers that the
below equation could accept,
dice1+dice2+dice3<PreviousStep(if it is lower)
dice1+dice2+dice3>=PreviousStep(if it is higher)
PreviousStep is the total of three numbers on dices from the previous step and also
1<=dice1<=10 and 1<=dice2<=10 and 1<=dice3<=10 and also
dice1!=dice2!=dice3....
I have some problem with the last statement(
dice1!=dice2!=dice3)if they could also be the same(like the real world)I can solve this problem ....
maybe your meaning from getting the probability is something else ...
Did I guess your meaning correctly?
--------------------------------------------
Mehdi.:)