create-frogs-and-do number [list of commands]
Creates number of turtles and assigns frogs as their breed . The turtles then execute [list of commands] .
Examples:
create-frogs-and-do 5 [fd 3] would create 5 turtles of breed frogs and make them all move forward 3 steps.
Related commands:
|