movement behavior |
moves east sometimes, or stays put (center), based on the frog's age:
If the frog is 1 year old, moves to the east every move.
E, E, E, E, E, E, E, E, E, E, ...
If the frog is 2 years old, moves to the east once every 2 moves.
C, E, C, E, C, E, C, E, C, E, ...
If the frog is 3 years old, moves to the east once every 3 moves.
C, C, E, C, C, E, C, C, E, C, ...
...
If the frog is 9 years old, moves to the east once every 9 moves.
C, C, C, C, C, C, C, C, E, C, ...
|