CL-Sim is a simple Python library for creating simulations of the classic children's game Chutes and Ladders. I created the script initially to determine whether or not there was a statistically signficant first-move advantage in the game. The question was inspired by the routine beating I was getting from my four-year-old son who seemed to be winning way more than 50% of the time.
Download and put the script somewhere where you can import it into your own Python scripts.
I've included four example scripts in the examples
folder. They should give you some ideas about how to use the cl.py
library.
Copyright 2009 Tim Wilson
The cl.py
library and example scripts are distributed under the terms of the
GNU General Public License (http://www.gnu.org/licenses/gpl.html).