MIHS Challenge 1 - solution
Model was written in NetLogo 5.2.0
•
Viewed 159 times
•
Downloaded 30 times
•
Run 0 times
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
Comments and Questions
Please start the discussion about this model!
(You'll first need to log in.)
Click to Run Model
to setup clear-all ;; clears the world view of turtles and sets all values to zero create-turtles 10 ;; create 10 turtles at random locations, set their size to 2 ask turtles [ setxy random-xcor random-ycor set size 2 ] reset-ticks ;; reset the ticks to zero end to go ask turtles [ fd .5 ;; forward 1 step rt random 10 ;; turn right lt random 10 ;; turn left ] tick ;; add 1 to the ticks end ;; because the go button is a "Forever" button, return to the top of this ;; procedure and do it again.
There are 2 versions of this model.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
MIHS Challenge 1 - solution.png | preview | Preview for 'MIHS Challenge 1 - solution' | about 8 years ago, by Larry Bencivengo | Download |
This model does not have any ancestors.
This model does not have any descendants.