Serendip is an independent site partnering with faculty at multiple colleges and universities around the world. Happy exploring!

Reply to comment

Marwa's picture

More updates

I have incorporated most of the things that I mentioned in my post last time. So right now I have a model that has some "unsafe" patches that are red - if turtles land on those patches, their health is reduced. Whether they land on the unsafe patches depends on their experience/age. The turtles look at the patch ahead to see if it is unsafe when they are moving about. When they see that the patch is unsafe, older turtles have a higher chance of making a better decision and turning away than the younger turtles. After a certain time, new young turtles are born. The user can control how many turtles are there at the beginning, as well as how many are born at the end of each time sequence.

 

Turtles die when their health gets reduced to a certain value. The user can decide if they want the turtles to die from old age as well or not. There is a counter that keeps track of how many turtles of which age there are in the world (which I hope to change to a bar graph instead...) It seems like there are almost always more of the oldest turtles, whether we decide to make them die from old age or not.

Reply

To prevent automated spam submissions leave this field empty.
9 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.