- #1
latot
- 24
- 3
- TL;DR Summary
- Is there a way to get the probablity distribution of the number of wins in a game, when you have a "x" probability to win, but at certain number of rolls you win, with a resettable count that force win.
Hi hi, I was thinking about this, all of this starts playing a game, I'll show a simplification:
We ca win several times.
We have a count ##n##, where is the max number of rolls until you win, let's say we can win a ##m## amount.
In every roll we can win ##m## with a probability of ##p##.
If we win in a roll, or the count reach 0, the count will start again.
We have one variable, the number of rolls we can use, this variable should set a new function that is the amount that we can win, and the probability, we can write this in other way too, we can question what is probability to win a certaim amount with a specific number of rolls.
I don't know if there is a way to calculate this, the part that can be maybe more hard is the count, bacause depending if we win or not, it can start again and again.
Fixed, sorry.
Thx.
We ca win several times.
We have a count ##n##, where is the max number of rolls until you win, let's say we can win a ##m## amount.
In every roll we can win ##m## with a probability of ##p##.
If we win in a roll, or the count reach 0, the count will start again.
We have one variable, the number of rolls we can use, this variable should set a new function that is the amount that we can win, and the probability, we can write this in other way too, we can question what is probability to win a certaim amount with a specific number of rolls.
I don't know if there is a way to calculate this, the part that can be maybe more hard is the count, bacause depending if we win or not, it can start again and again.
Fixed, sorry.
Thx.