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

Work 15: 11/22

posted Nov 22, 2019, 11:31 AM by JonAlf Dyrland-Weaver   [ updated Nov 22, 2019, 11:53 AM ]
On your own, but with consultation of your neighbors when needed, try to recreate the procedures in the following NetLogo program:

Super important programming note:
  • There is a NetLogo procedure called of
    • It reports property values of agents.
    • General syntax: [property] of agent
    • Examples:
      • [shape] of turtle 0
      • [pcolor] of patch -12 5
    • Use this wisely
    • Test the buttons & slider out
      • Note: The circle around patch 0 0 is only there to help you identify the center.
    • Using a Key To Success™, answer the following questions:
      • What happens in go?
      • What happens in local go?
      • What do you think happens when you run either procedure for a long time?
      • Can you make any predictions based on the initial amount of patches of different colors?
      • Look at this webpage and think about the model, is there any correlation between the two?
  1. Phase 2:
    1. Use the info you gathered in Phase 1 to write your own version of the program.
    2. You must include all the pieces in the original, except for the circle around patch 0 0 
    3. Include your answers to the questions from phase 1 as comments at the top of your code.
Submit this as gdrift.