Learning Lab 1 has four parts.
1. Work in a small group and together explore the NetLogo Sample Model. Answer the questions that are in italics on the page, and then we’ll have a brief group discussion.
2. Complete Tutorial # 1 from the NetLogo User Manual on Models. This tutorial is very important in that it explains many of the basic features that you will need to know when using NetLogo. There is a copy of this file in your Lotus Notes files. You’ll probably want to make a copy of this.
3. Once you are comforable with the basics from Tutorial # 1, you can then complete Tutorial # 2 on commands.
As you learn a new command, write it down in your notebook. Remember, the goal here is not just to “get through” the tutorial, but rather to master the skills necessary to be a NetLogo programmer.
4. Browse through the Reference section of the user manual. Get an idea what information is contained in this section.
Try the following statements on the command center and guess their meanings (you can check Primitive Dictionary on the Reference section to find out their definitions):
ca (Observer)
crt 50 (Observer)
fd 10 (Turtle)
if (random 3) = 1 [die] (Turtle)
set heading 90 (Turtle)
fd 5 (Turtle)
if pxcor > 5 [set pcolor blue] (Patch)
if (distancexy 10 0) < 5 [set pcolor red] (Patch)
if (pcolor = blue) [fd 10 set color yellow] (Turtle)
|