This is a simple simulation of natural selection. Blobs exist on a plane. Food appears on the plane every day, and they set out to eat it. The blobs will search until running out of energy, or until the round is over. When a new blob is created, its speed values can go up or down a certain amount. Higher speed lets you move faster, but less efficiently than a slower blob. Redder blobs are faster, bluer blobs are slower. Remix if you want anything like fluctuating food levels.
Primer, for inspiration. Changelog: ------------------------------------------------------------------------- v1.0: Creation. v1.1: Added speed mutation. v1.2: Added sense mutation, not implemented. v1.3: Changed how food works, AI improvements. v1.4 PLANS: AI improvements, another mutation.