R/defaults.R

#This little script just contains the default board size and ladder and snake positions for the game.
default_ladders_and_snakes <- matrix(c(2,5,10,22,29,37,52,72,81,99,96,94,88,65,63,57,50,49,17,39,15,32,43,85,45,68,92,101,79,76,74,25,61,20,54,12,27,7), nrow=19)
default_board <- c(1:101)
iawindham/snakesandladders documentation built on May 20, 2019, 2:08 p.m.