Source Code, Graphics for the "Robby the Robot" Genetic Algorithm
(as described in Complexity: A Guided Tour)

Below are links to source code in C and Netlogo, and writeups.

The Robby GA package (Robby.nlogo) in Netlogo is self-contained: you can evolve strategies as well as visualize their behavior in different environments.

The Robby C package only performs the evolution of strategies. You can use the Netlogo program, RobbyGraphics.nlogo,a to visualize the behavior of evolved strategies. As is described in the writeups, the C package is set up to run on Linux, and may require some modifications (in particular to the random number generation routines) to run on other platorms. Also, the Netlogo graphics package is usable, but doesn't have all the features I would like.

Netlogo version

C version