2016-01-06 ZombieLab - Partner

posted Jan 6, 2016, 4:51 AM by Samuel Konstantinovich   [ updated Jan 6, 2016, 5:00 AM ]
Humans vs. Zombies part II, revenge of the ... zombies?

-If you both finished your labs: Get a copy of the working lab from your partner.
-If you BOTH don't have a working lab, fix your respective labs on your own, then swap.
-If one of you doesn't have a working lab...


New Zombie Behavior:

1. Make a safe haven for humans:
-Make your world max-pxcor 32, and max-pycor 32. 
-Change the size of patches so it fits on your screen.
-Setup must make an  11x11 square of blue patches in the middle of the board. Zombies cannot step on these patches, if they do, they must immediately move back 1.

2. Zombie Vision should be displayed on the screen. 
-New interface element:  Make a toggle switch viewableCones. This will be true or false depending if the switch is on or off.
-When viewableCones is toggled on: Make the zombies change the color of the patches in their vision cone to yellow. Patches that leave the vision cone should revert to black. You did something similar in a previous lab, integrating this into the code is the challenge. 
-The blue patches should not be changed to yellow by the zombie vision cones.  

3. Zombie Shape
-You must use ticks now. Setup needs reset-ticks. Go needs tick.
-Use on-ticks instead of continuous to smooth your animation.

-Zombies should change their shape and color every 3 ticks. 
-Zombies should change their shape between two "zombie" shapes. You can just make a copy of person, and modify it slightly, then mirror the shape. This should take no more than 2 minutes.