Tutorials
Game of Life(Conway) Fire Agent Model StupidModel version u version v version w version x
Game of Life(Conway)
Fire Agent Model
StupidModel
version u version v version w version x
version u
version v
version w
version x
Habitat cells that grow food. Bug growth equal to the food consumed from the cell. To download this tutorial =.
3.1.1 Add an attribute(instance variable) named «food»
3.1.2 Create accessing method for the «food» (default value : Cormas random)
3.1.3 Notify to redisplay when attribute «food» is changed
3.1.4 Write a «growFood» method
3.2.1 Add an attribute(instance variable) named «intakeRate»
3.2.2 Create accessing method for the «intakeRate» (default value : 0.5)
3.2.3 Write a «consumeFood» method