The Maths of Snakes and Ladders