CS112
Assignment #7
Due: March 13th
For this assignment you will be expanding the simple Humans versus Zombies program we've been developing in class.
Make at least the following changes to the current version of the Humanns versus Zombies program:
- Add a variable for the humans and a variable for the zombies. Possibliities include heath, speed,
sleepiness (humans have to sleep), hunger (humans have to get food or zombies speed up as they get hungry until
they die or feed), etc.
- Make the variables effect how the humans and zombies behave.
- Add a plot window to plot the average value of the new variables.
- Add at least one type of specialized patch that has an affect on either humans or zombies. Examples,
patches that heal humans, patches that humans and zombies can't enter (barriers), patches only humans can
enter (buildings), patches where humans kill zombies, etc.
- Fill in the info tab. Include your name under "What is it?"
Make sure to fill in all of the other sections. Be sure to include a disucssion of how your variables effect
the model.
Turn in: Save your project as [scratchname]Zombies2.nlogo. E.g. my project would be saved as
tsoule89Zombies2.nlogo. Email the project as an attachment to both TAs
(Allen, Craig (alle7522@vandals.uidaho.edu); MacPhereson, Serendel (macp6269@vandals.uidaho.edu))
with the subject
CS112Assignment7.