http://www.reddit.com/r/programming/comments/7i22c/genetic_p...
A car is defined as being a quadrilateral with two wheels and two counterweights (I think that's what they are). It starts off by randomly creating 20 cars with variable car shapes, wheel sizes, and counterweight sizes.
It determines how well each car does on the course and uses this information to mate the cars together in order to get a more successful car. The way this is traditionally done is by evaluating a "fitness" function on each individual in the population and giving the higher scoring individuals a better chance of mating.
This process keeps on going on until some criteria is reached. On average, the higher the generation count the better the offspring should be.