Advertisement
Thiefstep

To go example

Feb 19th, 2020
555
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.17 KB | None | 0 0
  1. to go
  2.   ask turtles [
  3.     move
  4.     increment-clock
  5.     if ( (clock > window) and (clock >= threshold) )
  6.       [ look ]
  7.   ]
  8.   ask turtles [
  9.     recolor
  10.   ]
  11.   tick
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement