Teaching Worms to Crawl Using Genetic Algorithms

This is a follow-up to the first article about training creatures to walk using neural networks and genetic algorithms. The next creature I decided to train is a worm. Here’s the result (generation ~200).

Genetic Algorithms - Worms

Get the source code (contains the walking creatures, too).

PS: Again, if you happen to evolve an interesting locomotion, send me your code/swf and I’ll post it here.

  • Lance

    Hey this is so interesting! I am starting to learn about neural networks and genetic algorithms myself, hoping that I will be able to eventually create things like this. Keep up the good work!