Just a survival AI. Nothing huge, just a buncha if/else block chains and a few variables.
I used speed to simulate age. The slower = the less time it has. So, slower Gloopos die out, faster Gloopos reproduce. Theory: If program runs for long enough, eventually the species may develop teleportation.