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.
I think it's a little surprising how orderly this solution ended up being, especially function 2.
Algorithm Parameters
|
Board: Level 7Statistics
Out of 3515600000 randomly generated programs, none of them were solutions for this board,
but an average of 0.572546082318808 targets were lit.
Description
This is the seventh level from the original game.
|
|
|
Click on any row to load it into the viewer
Generations | Lit | Commands |
34980 | 14 | 32 |
19635 | 14 | 34 |
17415 | 14 | 35 |
17407 | 14 | 36 |
17238 | 14 | 42 |
4923 | 13 | 57 |
1763 | 12 | 135 |
1136 | 9 | 33 |
220 | 8 | 123 |
103 | 6 | 111 |
0 | 4 | 30 |