Videos

A genetic algorithm learns how to fight!

By  | 

For more details about the neural network, the programming, click here : http://doublezoom.free.fr/programmation/AG_Exemple_Fighting.php (french)

This is an implementation of a genetic algorithm on a neural network. The "fighters" are capable of self-improvement in order to become stronger.

As you can see, the "fighters" are learning how to fight. Each one of them can see the bullets and the enemy in their vision field (represented by two lines), and have 5 possible actions : move forward, turn right, turn left, shoot and adjust their field of view.

This program was done in lua, on my iPad, thanks to codea (http://twolivesleft.com/Codea/)
The music, Five Armies by Kevin MacLeod is licensed under a CC Attribution 3.0.

All rights belong to the video owner/maker, shared under YouTube T.O.S.

You must be logged in to post a comment Login

Leave a Reply