Whether for brains or bacteria, intelligence is all about food

If you wanted to write a computer program to simulate intelligence, you could start with two simple commands.

Get food: Yes. Be food: No.

Intelligence is all about enhancing your ability to survive, and getting food while avoiding being eaten are essential ingredients in any survival recipe.