Settings

Theme

Show HN: Evolved cells navigate a maze with no training or fitness function

streamin.me

2 points by heavymemory 2 months ago · 0 comments · 1 min read

Reader

Single file C simulation. Cells on a grid eat soil, fight neighbours, reproduce with mutations. No neural network. No backpropagation. No fitness function. No pathfinding. Evolution runs and behaviour emerges.

Left panel is the ecology where evolution happens. Right panel is a maze. I pick an evolved organism and drop one cell into the maze. Some genomes fail. Some explore the whole thing. Zero control after injection.

The cells don't have functions like 'move left' or 'eat food'. Each cell runs a small evolved gene network that reads local inputs and writes to registers. Physical consequences follow from the register values. The cell doesn't know it's navigating. Its internal chemistry just happens to produce movement.

~2000 lines of C. Single thread. Runs on a laptop

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection