create-custom-turtles-and-do
breed number [list of commands]
Parameters:
breed |
String |
type of turtles being created |
number |
Number |
number of turtles to create |
[list of commands] |
List of commands |
commands newly created turtles will run |
Description:
Creates number turtles of type breed and tells them to do [list of commands].
Examples:
cct-and-do foxes 5 [fd 3]
would create 5 foxes and make them all move forward 3 steps.
Notes:
Most users will use create-foxes-and-do
directly intead of using cct-and-do
.
Related Commands:
create-custom-turtles