AgingLog.txt


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Dillon Bussert on April 19, 2001 at 21:50:09:

The output for the program is:

--------------- tick number: 18
Bessie moved south
Bessie out of energy.
--------------- tick number: 19

Bessie is a grazer, and they're supposed to lose one energy for existing, then move and lose another unit of energy.

In this case Bessie has 15 energy, and proceeds to lose 14 of it over 7 ticks. On the 8th tick, shouldn't she automatically lose one (0 energy left) and die before she can move? In which case that move south command would not occur? Thanks

Dillon Bussert


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]