Courses‎ > ‎Intro to CS - Full Year‎ > ‎Fall‎ > ‎Dyrland-Weaver‎ > ‎Work‎ > ‎

Work 04: 10/29

posted Oct 29, 2019, 10:54 AM by JonAlf Dyrland-Weaver   [ updated Oct 29, 2019, 12:24 PM ]
  • Download NetLogo!
  • You will have a number of tasks to perform in NetLogo.  To start NetLogo on the school computers open a terminal (shortcut: control-alt-t), and type netlogo at the command prompt.

    For this assignment you will use the following commands:
    • observer commands
      • clear-all
      • create-turtles x
      • create-ordered-turtles x
    • turtle commands
      • forward x
      • back x
      • right x
      • left x
      • pen-down
      • set property value
    • Test out these commands via the command center. Make sure to be in the correct context when using them.
    • In a plain text file, write down what these commands do.
    Create a turtle and do the following:
    1. Access the property sheet for the turtle.
    2. In the same plain text file as before, for each property:
      1. Write it's name
      2. Describe what it is
      3. Write 2 examples of set commands that will change the property.
    When done, feel free to check out the models library (accessible in the File menu) to see all the built in programs NetLogo comes with.

    Submit this as netlogo_commands_0