SUCCEED

   

Programming 2009
Shodor > SUCCEED > Workshops > Archive > Programming 2009

Today, the students learned Java. Matt Des Voigne was teaching the workshop about Java today. The students learned about the Susceptible & Infected model. They learned how to make a grid where the susceptible and infected people could walk and how to make the susceptible and infected people themselves.

Later, they learned in greater detail how an infection spreads throughout a certain area. They learned how to make the infected and susceptible people walk around such that if the infected person walked too close to a susceptible person the susceptible person would have a chance (at a certain percentage) of getting sick. They also learned how to change the color of the people once they are infected and how to get the person to check if they are infected or not. Lastly, they added a feature that allowed people to have a certain chance of recovering from the infection.