Emergent is my humble attempt at creating emergent behavior
sudo python setup.py install
/usr/local/bin/emergent
Entity is the general name of the different squares in the world. Each entity has a distinct personality comprised of various complex behaviors. Each entity also belongs to a family and will interact differently with entities of the same or different Families.
The blue entities are Drones. They have a random chance of mutating into Queens or Hunters. They will approach queens of different families and try to mate with them. They will also eat and push Food around. Eating Food lets drones grow larger and have longer strides when they move.
The green entities are Queens. They will approach Drones of different families and try to mate with them. Each offspring the the Queen produces takes a toll on her health.
The red entities are Hunters. They will approach entities from other families and absorb them, allowing them to grow larger. Hunters have a random chance of exploding, producing a number of offspring proportional to their size.
The brown entities are Food. They can’t move on their own, but Drones can push them around. Over time, Food entities will generate other Food entities nearby.