Tuesday, May 26, 2015

Day Four: Death


Each morg now has its own life value, which decrements with each encounter. When life<0, the morg is removed. Removing it from the scene is easy, removing it from the built-in array that lists each active morg was harder. Over time, the population dwindles to 1, or sometimes 0... in the case of the last two morgs meeting with equal life.

No comments:

Post a Comment