UpdateObservation ModeEnter observation mode (key 'o') and then click on a zombie or human to see stats. Names are generated from top 60 first and last names in US. Will also show the waypoint that the humans are walking towards, or in the case of running, what they are running from.
WaypointsAdded a waypoint system so that humans have waypoints that they randomly select. They then exhibit a more lifelike movement. I plan on implementing this waypoint system completely in the program so that the humans can dynamically create waypoints that they will move towards on their own. Press key 'w' to enter waypoint mode to see waypoints and create more.
EscapeHumans can now escape from being attacked. This is based on a "resistance" attribute that is assigned randomly. They try to escape while being attacked, while zombies try to "bite" while attacking. The combination allows for a human to be bitten and still escape. Other humans are not aware of the bite, so they do not run from the bitten human, creating some interesting situations where humans turn into zombies while in large groups of humans.
ModificationsWithout using a path finding algorithm it is hard to implement the waypoint system. I ended up trying to determine when a human was stuck, and if so, randomly select another waypoint. This works for now, but humans tend to stay around the center of the city. Also modified the way humans notify others of zombies. If a human being notified of a zombie attack does not have a direct view of the zombie, it doesn't add it to the list of known zombies, but will still run.
New direct link to the game: http://mavdisk.mnsu.edu/kallhw
(Geocities does not allow adding font files
)
Thanks for input and let me know of any bugs/issues!