MIHS Challenge 1 - solution
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
(a general understanding of what the model is trying to show or explain)
HOW IT WORKS
(what rules the agents use to create the overall behavior of the model)
HOW TO USE IT
(how to use the model, including a description of each of the items in the Interface tab)
THINGS TO NOTICE
(suggested things for the user to notice while running the model)
THINGS TO TRY
(suggested things for the user to try to do (move sliders, switches, etc.) with the model)
EXTENDING THE MODEL
(suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc.)
NETLOGO FEATURES
(interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features)
RELATED MODELS
(models in the NetLogo Models Library and elsewhere which are of related interest)
CREDITS AND REFERENCES
(a reference to the model's URL on the web if it has one, as well as any other necessary credits, citations, and links)
Comments and Questions
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' | over 8 years ago, by Larry Bencivengo | Download |
This model does not have any ancestors.
This model does not have any descendants.