Simulating Life

Just another UMass Boston Blogs site

Code review

| 1 Comment

I made my entire simulation again, since my first one wasn’t working properly. This time instead of having an health inspector uninflect the restaurant I made the restaurant uninflect it self randomly, just like you suggested. It is working properly now 🙂 Now I’m going to start working on rest of the stuff like making health people reproduce and/or making hospital vaccinate the unvaccinated people.

One Comment

  1. AOK
    I would NOT do people reproducing – the time scale is all wrong. For infection, each tick of the clock is a day at most. At that rate, a human lifespan is 100 years x 365 days/year = 36,500 ticks – you’d get really bored waiting for that!

Leave a Reply

Required fields are marked *.


Skip to toolbar