This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

kiarocks
kiarocks presents ...

2011/6/11

Infect

Thanks To Danpost for most code!
Watch as people go from Healthy(Blue) to Infected(Green) to ill(Orange) to Dying(Purple) to Dead(Black)

5139 views / 20 in the last 7 days

3 votes | 0 in the last 7 days

Tags: simulation demo with-source

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Mon Jun 13 14:17:17 UTC 2011 Speical verison for danpost to see what happens at 20 pixel cell size
danpostdanpost

2011/6/13

The code is not available!
A new version of this scenario was uploaded on Tue Jun 14 00:43:31 UTC 2011
kiarockskiarocks

2011/6/14

my bad!
danpostdanpost

2011/6/14

Look in DISCUSS -- discussion titled 'On fixing "Infect"' -- try the changes I suggested.
A new version of this scenario was uploaded on Tue Jun 14 01:22:22 UTC 2011
A new version of this scenario was uploaded on Fri Jun 17 14:21:56 UTC 2011 WAYYY Awesomer
A new version of this scenario was uploaded on Fri Jun 17 14:38:00 UTC 2011
danpostdanpost

2011/6/17

Mik suggested having the people procreate and age and see what rate of infection would kill off the population. I say that is a good idea! Use the scale() method to 'grow' the images; with a variable to keep track of the age of the person. You could use this variable to adjust the chance of infection (the young are less likely to catch the infection). Also, the age could be used to make the un-infected die off even when not infected (chance of dying increases as age increases).
A new version of this scenario was uploaded on Tue Jun 28 03:33:55 UTC 2011

See all comments

Want to leave a comment? You must first log in.

Who likes this?

birdy gingerjoe3 mik