This is where an individual instance of the genetic algorithm is displayed. The algorithm was run on the board shown below with the parameters indicated in the table. You can view the final result using the controls below the board.
This is a typical example of a completely random program that happened to be a solution. The algorithm completed immediately (in 0 generations) because about 1 in every 10 randomly generated programs solves this level, and the algorithm started by generating 150.
Algorithm Parameters

Board: Level 1Statistics
One out of every 10 randomly generated
programs is a solution for this board, and any randomly generated program lights an
average of 0.0939015504052519 targets.
Description
This is the first level from the original game. Since it only has one target, the genetic algorithm isn't effective, and solutions can only be found by pure chance.



Click on any row to load it into the viewer
Generations  Lit  Commands 
0  1  11 