Light-Bot Results Gallery

Back to gallery index

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.

Generations: 0


No comment

Algorithm Parameters

Population Size 150
Mutation Width 4
Recombination Cuts 2
Duplicates Replaced true
Mutation Immunity for Leader true
Extended Time for Minimizing Program Size 250.0% of normal time

Board: Level 2


One out of every 303 randomly generated programs is a solution for this board, and any randomly generated program lights an average of 0.00329418109517267 targets.


This is the second 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.
Function 1
Function 2


At moments of improvement

Click on any row to load it into the viewer

Generations Lit Commands
0 1 39