Population
›
Simulate
›
Fitness
›
Select
›
Crossover
›
Mutate
↶
Mutation 2.0% · shortest possible route: 62 steps
The mazeAwaiting start
Genome executed
0 / 300
Best fitness by generation in red; the population average as the black line. The dashed rule is the goal: anything above it reached the end.
Ready
A population of pure noise
Nothing has evolved yet.
Best agent’s genome
executed unused mutated
Mutation applies immediately. Changing population or genome length restarts the experiment.
About the method. A genetic algorithm is a computational optimisation technique inspired by biological evolution — it is not a literal simulation of it, and the “genome” here is simply a list of movement instructions. Agents have no map, no sense of direction and no pathfinding: each one blindly executes its own instruction list, and fitness is measured only from where it ends up. The algorithm searches for increasingly good solutions; it is not guaranteed to find an optimal one. The shortest possible route through this maze is 62 steps.