Terrain and animal attributes

gLife generates terrain and animals with initial attributes, which are listed below.

Terrain generation

For generating the terrain:

Animal generation

When creating new animals, a new animal has a variety of characteristics which are currently:

Sex

Sex is either male or female: a simple 50:50 chance.

Age

A new animal starts as 1.

Vision

Vision is generated but not yet used.

Food issues

The animal has two food characteristics: its metafood value (its metabolism) and its food storage: foodstore. These are not yet used.

Speed

The animal's speed is generated, and determines how many units of space it can move in a turn.

Positioning

The animal's position on the grid is generated as a X co-ordinate and a Y co-ordinate, and it starts there.