Probability, Python, Games, Markov Chains, Data Science.
representation of states, state i = 0 suffices to represent “shutting the box” as all tiles are flipped down. Since this is the “win” state of the game, we can modify the transition matrix so the probability of staying in state 0 is 1 (i.e. T₀₀ = 1). Finally, we will add a “loss” state (L) to