Skip to content

Chutes and Ladders simulated with Monte Carlo and Markov chains

Notifications You must be signed in to change notification settings

roycoding/chutes-and-ladders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Chutes and Ladders

Simulated via Monte Carlo and Markov chains

This is my for-fun implementation of Nick Berry's simulations of Chutes and Ladders to explain the Monte Carlo and Markov chain methods.

This is very basic at the moment. I may make it nicer or just use this Python code as backend for a different visualization.

License statement: Feel free to play with this code and use it for what ever you'd like.

Both simulations require numpy and optionally matplotlib.

The todo list includes:

  • Code for parallel runs of the Monte Carlo simulation. Possibly via the picloud local library.
  • Clean up the plotting of the game boards in the Markov chain version.
  • Overall nicer plotting. It's just basic enough to verify results at this stage.

About

Chutes and Ladders simulated with Monte Carlo and Markov chains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages