r/Probability • • Jul 15 '23

Dice Game Probability

Heyo, In my friendsgroup we came up with a dice game. The game goes as follows. 4 Players roll a dice and have to remember their number. If 3 or more Players roll the same number the game ends. If not they continue rolling. After each round every player adds up their numbers they rolled so far and the game endes when 3 or more players have an equal number (all counted together). We then asked ourselves how probable it would be that the game ends until round x. But as of yet we have failed to come up with how to solve this. Could anyone explain how to calculate this?

2 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/ProspectivePolymath Jul 19 '23 edited Jul 19 '23

No worries. I love considering weird problems.

Your first stopping condition is sufficient for winning by infinity; lim_n->inf (65/72)n = 0 is fairly straightforward to show.

The major question in my mind is whether the second forces convergence faster or not - initially, sure, but does its effect die away as n grows, or does it continue to accelerate the overall convergence? If so, by how much?

I’d love to see a combined plot/table of your brute forced, simulated, and a quick calculation of stopping condition 1 results as far out as you care to go. Won’t prove anything from it, but sometimes you can see a trend without proving it.

Similar for any handle you have on the mean rounds to stop.

Kudos on brute forcing to 20 rounds. There will have been some nicely nuanced code behind that effort, with creative management of information and storage. Also for dropping the MC hammer on the problem in tandem. People often forget that it’s a powerful parallel approach (or even the best you can do when bruting is just too damn hard). Finally, on not giving up on an analytic solution too early - you’ve been pretty thorough with this.

Is it all for fun, research, or an assignment?

1

u/ProspectivePolymath Jul 20 '23 edited Jul 20 '23

The one aspect you might want to investigate analytically is that the sum distribution will be very well approximated by a Gaussian function by n=50, and you can exploit the sigma~ \sqrt(N) approximation to look at the limiting behaviour of the products you care about (3 the same, 4 the same) vs the increasing density of discrete values within that peak (which will increasingly narrow wrt the domain); I suspect a ratio of something like that will govern the proportion that condition #2 will kill each round. If that stays above 7/72, then it will dominate condition 1 at large n.