A genetic algorithm learns how to fight!

YT: 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 4 possible actions : move forward, turn right, turn left, shoot.

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.
Longswdsays...

I wonder how many gens are required for them to develop circle-strafing . If a third dimension was added would they learn to bunny hop?

siftbotsays...

Promoting this video and sending it back into the queue for one more try; last queued Saturday, April 12th, 2014 4:52am PDT - promote requested by kulpims.

noimssays...

Generation 96.

Red crudely implied having sexual relations with green's mom.

Longswdsaid:

I wonder how many gens are required for them to develop circle-strafing . If a third dimension was added would they learn to bunny hop?

Send this Article to a Friend



Separate multiple emails with a comma (,); limit 5 recipients






Your email has been sent successfully!

Manage this Video in Your Playlists




notify when someone comments
X

This website uses cookies.

This website uses cookies to improve user experience. By using this website you consent to all cookies in accordance with our Privacy Policy.

I agree
  
Learn More