Had a go at genetic algorithms. They were interesting to do. Here's my attempt at a predator prey kind of setup. Whenever all of the current 'generation' are dead the highest scoring ones (kills + time spent alive) are bred together and then some mutations are throne in (I kept mutations rather high). Unsurprisingly the prey become rather well adapted rather quickly due to them developing the 'calm' gene in which they only move when approached. The predators suck though, due to the 'feeding time at the zoo' kind of scenario they become 'lazy' and just end up spinning around in circles. The only known issue is that as the prey get better they tend to trap themselves in the corners out of reach of the predators. if that happens just resize your browser window to view them and then click on them to 'terminate' them.