CSCI 190 NetLogo Sample Code
Sample Code From Class
- BugOnDunes.nlogo example from 9/28
- DEMO12-cat-mouse-game.nlogo example from 10/5
- DEMO13-rat-reporters.nlogo example from 10/10
- hiker.nlogo example from 10/24 & 10/26 .
(This is also a sample solution to the midterm exam question 3 including the extra credit part.)
- buyers-sellers.nlogo
model presented on 10/26 (with slight modifications). Use this to design and test your own breeds
for Assignment 6.
- Week6b-rev1.nlogo, the example from week with mice living in walls, trying
to reproduce and eat, and avoid the cats who want to eat them.
- newmaze-v4.nlogo example from Week 11 (after Thanksgiving),
shows not only the creation of a maze but the coding of different strategies for solving it.
This is the final version that will be used for a race to determine the ordering of student
final project presentations.
Sample Solutions to Homeworks
- HW3-SampleSolution.nlogo
- HW4-SampleSolution.nlogo
- HW5-SampleSolution.nlogo