R/turtle_bounce.R
turtle_bounce.Rd
A turtle walks randomly, but bounces back from the edge of its containing field.
turtle_bounce(side = 60, step= 10)
side-lengths of the containing square
length of one turtle step (side-length/2 must be a multiple of step).
side effects
Homer White homerhanumat@gmail.com
## turtle_bounce(side = 80, step = 10)