Hacking “Chutes and Ladders” using R
ethanmarkowitz.com
Hacking “Chutes and Ladders” using R
1–10 of 17 posts
Re: Hacking “Chutes and Ladders” using R
#2Re: Hacking “Chutes and Ladders” using R
#3Get 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.
Re: Hacking “Chutes and Ladders” using R
#4Great read. I have one suggestion: 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.
Re: Hacking “Chutes and Ladders” using R
#5Re: Hacking “Chutes and Ladders” using R
#6https://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.
Re: Hacking “Chutes and Ladders” using R
#7Great read. I have one suggestion: 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.
Re: Hacking “Chutes and Ladders” using R
#8Re: Hacking “Chutes and Ladders” using R
#9I almost quit R due to the tedious verbosity of the default syntax, but dplyr made it simple and fast.
Re: Hacking “Chutes and Ladders” using R
#10But 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.