Hacking “Chutes and Ladders” using R
ethanmarkowitz.com
ethanmarkowitz.com
But knowing some statistics, the entire of Snakes and Ladders is an absorbing markov chain [1] and can be very quickly analyzed as such without having to resort to sampling.
Random sampling is easy but take a step back and the entire state space is an integer in [1,100]. (Actually there are fewer than 100 states because the bottom of a ladder or top of a snake isn't a state).
The state transitions are very easy to model, they're just 1/6 to each of the 6 next states (sometimes fewer, in which case they just add).
Having constructed our markov chain, we can instantly and accurately get back our time-to-victory from each square.
(Neither plays the "bounce-back" rule always demanded by my friend's little sister!)
Get better games.
My 5 year old LOVES King of Tokyo playing with me as a family. https://boardgamegeek.com/boardgame/70323/king-tokyo
Also Animal Upon Animal is a fun game with my kid. It is a stacking game with animals and kids love it. https://boardgamegeek.com/boardgame/17329/animal-upon-animal
There are so many good games for kids and almost no one knows about them.
But yes, there are many kid-friendly games to replace it with for kids who understand basic game concepts.
> Also Animal Upon Animal is a fun game with my kid. It is a stacking game with animals and kids love it. https://boardgamegeek.com/boardgame/17329/animal-upon-animal
I had something like that as a kid and loved it.
I almost quit R due to the tedious verbosity of the default syntax, but dplyr made it simple and fast.
https://news.ycombinator.com/item?id=3386970
https://news.ycombinator.com/item?id=6323427
The first of these is more sophisticated than the current post, because it calculates the distributions analytically using the fact that the move sequence is Markov and the transition matrix is known. So, exact probabilities can be found.
Best example was a tournament for Settlers. In the early stages one player dominated each table. But in one of the last stages it was only the top players. The game ended with one person getting their 10th VP and everyone else at the table had their 10th VP in their hands.