Beginners Interactive NetLogo Dictionary
Farsi / Persian
NetLogo Models Library:
This code example demonstrates the
Blue turtles never reproduce. Pink turtles have a one-in-five chance of reproducing at each time tick. Each turtle's life lasts 50 ticks. Nine out of ten baby turtles are blue.
The turtles created by
hatch are exact duplicates of their parents, so it is necessary to reset each new turtle's age to 0 inside the