Snakes and Ladders Probability Simulator

add_snakesandladders | Applies snake and ladder transitions to the board. |

create_transmatrix | Creates a transition matrix of probabilities for each square... |

finish_game_chance | Calculates the probability of winning the game after a... |

markov_chain | Simulate markov chain for a game of Snakes and Ladders |

roll_probabilities | Runs the simulation for a a range of die sizes |

snakes_and_ladders_sim | Runs the entire Snakes and Ladders Simulation using user... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.