Quote:
> Does anybody know of any Pascal code that simulates the behavior of
> something like an ant or another small insect. The only behavior I would
> like to see is movement and reaction to another entity of the same type.
Not difficult at all, when i was woundering how they managed to do smart
robots, i accidentaely stumbled upon a program called "something, I forgot
the name" and they showed robots in all aspects and forms.
And in the middle of the program they got into the subjct of how they
programmed them, they replied like this:
"Well, this type of programming can't be done with traditionall programming
we have today. So we gave them a few simple instructions instead!"
NOTE: The 6 robots had one single objective> to sort 2 types of objects, one
type is black and one type is white.
they we're to sort them in each area in their own color.
And one more thing:
The robots don't give a damn of what the other robots're doing, he's just
interested in getting his task done.
"Each robot had these instructions:
1. If I'm facing something which is taller or equally as tall as me, i turn
away from it.
2. If i bump into something, i go in the opposit direction.
3. something else which i just forgot.
GOAL: to sortb the objects by color!
now, these robots doesn't care about each other and stuff, but still they
help each other... why?
Well, they didn't code them to help each other!
but it seems like the robots makes their own decissions like helping each
other... the rest is simple command following.
that's the golden key for a goooooooooood AI.
and some white robed guys (they're called proffessors/scientists) claims
that the advanced comuneties (like the ants) we're created in this manner...
with a few instrucions!