A few of my friends are playing on a gaming server where this game exists. I was curious about the probabilities in it but i was unable to derive them. Any help would be MUCH appreciated. Note: For this problem, please assume that /dice is absolutely random. It is generated by a computer using a pseudo random code but i would appreciate it if that didnt work its way in here.
As for the game itself, here is how it works, there are two people who play the game, The Player and The Dealer.
As the game begins, the player uses /dice as many times as he wants(Each /dice has 6 outcomes which have absolutely equal chances). The player then dices as many times as he wants but his total must not go over 21.
For example when the total reaches 19, it would be a good choice to stop. If he gets 22, 23 or so on then he automatically loses.
Once he has "stayed" at a particular amount the dealer then rolls. His aim is to ensure that he gets a number higher than the player. If he succeeds, he wins. If he trips and gets 22, 23 or so on then he loses.
Now what is the probability that the dealer will win? What is the probability that the player will win? On a average game what is the probability of a 21 being rolled.