DISCLAIMER: This will be done with fake money for education purposes.
I'm working on a Dice simulation site for a school project, where you play the house and you as a player have to get a higher number on your dices. You start of with 2 and the house 1. If you want to play with 3, house gets 2 and so on. You bet a mount before you start, then you roll, then the house rolls. If you win you can add another dice up to 6 dices (house 5). Every time you add a dice, the amount of money you win is increased by a tiny, but still significant amount. You can quit whenever you want.
I've made a small simulation that plays a million games and display the amount of wins both sides manages to get and in the end calculates a win rate. Playing 2 vs 1 dice I get around a 83% win rate.
Now to my problem, if I want to calculate the amount needed to always win as the house, the odds of losing (for the player) needs to be higher than the potentialwinning:risk-amount.
I don't have any problems doing it with straight up fractions and ratios like, say you have 80% chance to win as the player, 20% that the house wins:
p = 4/5 that player wins odds for player = 4/1 = 4:1 odds for house = 1/4 = 1:4 if the potentialwinning is just slightly lower, let's say 24%, house will win the end.
But when I get a chance like 83% like in my 1m simulation, I'm completely lost as to what number I'm even looking for. Please ask me any questions if you're confused.
EDIT/CLARIFICATION: Player always has one more die than the house, and if all dices added together are higher than the houses', the player wins. If it's a draw or below, the house wins. If the player wins, he can roll again, but he has to add another die for him AND the house, thus decreasing his chance to win (since going from 2v1 to 3v2 is a small decrease) but increasing the amount (the predefined value i wanna calculate, to always make the house win marginally) he can win. Both sides roll all their new dices again and compare. He can leave with the money he's earned whenever he wants.
How do I calculate the winning amount so the house always win? I understand that the odds against the player has to be bigger than the winning:risk odds. Is this is simple as making the losing percentage a fraction, converting in to a ratio and compare it with the winning:risk odds?
Let's say I have 17% chance to lose as the player, that's a 17:83 odds which is equal to 20.48%. That means that the winning:risk just has to be a tiny bit lower to make a profit as the house right?