The Life of an English Major

  • About the Blog
  • Legal Stuff
  •  

    July 2008
    M T W T F S S
    « Jun   Aug »
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • a

  • Pages

    • About the Blog
    • Legal Stuff
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.com

Asymptote’s Zombie Infection Simulator: Version 3.0

July 11, 2008 @ 12:48 pm — asymptote

Since the Zombie Infection Simulator has turned out to be one of the most popular things I’ve ever done on this blog, I thought it was high time I implemented all the pretty, shiny ideas I came up with when I was working on the previoius version. Hopefully, I’ll have it running sometime soon, but for the moment, I’ve become mired in hellish nightmare of nested if-else routines that I somehow managed to screw up.

Anyway, here are the new features I’m implementing in AZIS 3.0:

  • Toughness: Humans with higher toughness are less likely to panic, and more likely to become fighters, when confronted with zombies.
  • Gullibility: Less-gullible humans are less likely to panic when they encounter other panicked humans, and also less likely to join a human “flock.”
  • Better targeting: Zombies now pick a specific target among the humans they can currently see, and chase that human until they’re either dead, infected, or out of range.
  • Vision Radius: The distance that humans and zombies can see is now equal, and can be changed with a handy-dandy little slider.

Things that I’m still working on:

  • Debugging: The code is a horrendous tangle of nested ifs and if-elses, so debugging is harder than usual. I guess they say you should tab-deliniate your code for a reason…
  • The South-Facing Gremlin: No matter what I do, I cannot stop the human flocks from all moving Southward on the map. I’ve tried all sorts of randomization routines (some of them almost clever), and not a single thing helps. I’m thinking that it would probably be best if we all just get used to it, because it looks like the South-Facing Gremlin (yes, I’ve given it a name. What of it?) is here to stay.

Hopefully, I’ll have more updates soon.

Posted in NetLogo, Programming. Tags: zombie infection simulation, zombie simulation. 7 Comments »
Blog at WordPress.com. • Theme: Garland by Steven Wittens and Stefan Nagtegaal.
  • Bookmarks

    • My Flickr Photostream
    • My Twitter Page
    • WordPress.com
    • WordPress.org
  • Archives

    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • November 2006
    • October 2006
  • Misc

    • Log in
    • WordPress.org
    • WordPress.com