Emergent Intelligence

Started by
72 comments, last by Nathaniel Hammen 19 years, 7 months ago
Quote:Original post by haphazardlynamed
nice
your armies learned that world peace was the best answer
takes a bunch of triangles to figure that out what people cant...



Throw uncertainty (on several levels) into it and your Triangles are powerless.
Advertisement
Quote:Original post by Samith
Here's an example of sort of emergent behavior I got once. I made a program that pitted 2 armies of triangles against eachother. The rules were, if you killed a guy on your own army you lost a some points, and if you killed a guy on the other army you gained some points. Every few minutes, I stopped the battle, and the guys with the best score moved on and "breeded" a new army. Then I would start over. Well, what I expected was that these armies would fight, but that's not what happened. At the beginning of each battle, the triangles would always shoot all of their bullets right away and never move. Obviously, since my triangles were lined up in rows and columns, a lot of friendly fire was happening. Well, after a few generations, my armies learned to shoot all of their ammo right away but not kill eachother. Right when the battle started they would all turn to a precise angle such that they could shoot everything and not kill anything. It was pretty neat, even though they weren't doing exactly what I had wanted them to do.


Just curious, but were the units blind, or could they "see" where their enemies were? Also, were you using a GA or a GP?
I am the master of ideas.....If only I could write them down...
The triangles could "see" the nearest enemy and the nearest friendly triangle. I don't know the difference between GA and GP, so I'll explain to you how I did it: Each triangle had a neural network to make decisions for it, and I used to weights in the NN as genes in the genetic processes. I would mix and match them and randomly mutate some of them after every round.
The weights as the genes...
I guess that would be considered a Genetic Algorithm... I think.

Anyways, I plan to make something like this, except I will use a Genetic Program to decide which enemy that the units can see. It will probably not come up with the "peacful solution" that your units came up with, because my units will probably not choose to see enemies that have an obstruction in the way. Or they will choose not to shoot if they do see it... probably.

Edit: too...many...typos!

[Edited by - Nathaniel Hammen on August 29, 2004 10:53:35 PM]
I am the master of ideas.....If only I could write them down...

This topic is closed to new replies.

Advertisement