Created by Mattias Fagerlund ( mattias@hypeskeptic.com ).
The fitness of a snake is determined by how far it gets in a set amount of time. The programs that control the snakes are evolved neural networks, using a method called NEAT. I'm using a partial NEAT implementation, written in Delphi. The only input that the snakes get is a sine-wave. That sine wave modulated through the neural network to determine the angular velocity of each of the joints in the snake.
Most snakes don't even use hidden nodes, I guess it's too east a problem to solve.
Click here to download NEAT Snake.
NEAT Snake in action. Slither slither.
Another view of the same snake.
A different snake. They all have the same colours though.
Click here to go back to the evolved page.