A genetic algorithm learns how to fight!

submitted by George Yang on 09/28/15 1

For more details about the neural network, the programming, click here : 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 (twolivesleft.com/Codea/) The music, Five Armies by Kevin MacLeod is licensed under a CC Attribution 3.0.

Leave a comment

Be the first to comment

Email
Message
×
Embed video on a website or blog
Width
px
Height
px
×
Join Huzzaz
Start collecting all your favorite videos
×
Log in
Join Huzzaz

facebook login
×
Retrieve username and password
Name
Enter your email address to retrieve your username and password
(Check your spam folder if you don't find it in your inbox)

×