My First Brain

 

            LetÕs start out by just creating a very simple brain and build it up.

 

            First, create a new brain:

(LetÕs call it Melvin J)

 

           

 

 

 

 

 

 

 

 

Next, letÕs toss in a simple rule that tells Melvin to wander randomly:

 

 

 

 

 

 

 

 

 

 

LetÕs see what Melvin does in the real worldÉ

(He wandered through the world randomly with not a care in the world, lucky Melvin.)

 

Now, letÕs clone Melvin with no mutation (just copy his rules to a new brain):

(Marvin is born.)

 

            LetÕs add another rule to Marvin that tells him to follow any enemy he sees:

 

           

            LetÕs drop them into a world together and see how they interact:

     

(Marvin (orc) wanders until he finds a Melvin (human) and then follows him)

 

            ItÕs fun to watch the Marvins, which, are slower than the Melvins, pick and choose who to follow.

 

            You can run this same demonstration, go here:

http://www.austingriffith.com/aibattle/brawl.php?humanbrain=Melvin&orcbrain=Marvin

            and click the ŌBattleÕ button.

 

            Are we seeing the first signs of grouping?

 

            LetÕs get to battlingÉ

 

            I created a new brain named ŌSallyÕ that hunts enemies and enemy castles:

 

            LetÕs run it against Melvin:

 

 

 

The Sallys hunt the Melvins in packs:

 

 

 

            See for yourself:

http://www.austingriffith.com/aibattle/skirmish.php?humanbrain=Sally&orcbrain=Melvin            and click the ŌBattleÕ button.

 

            All right, Sally is pretty vicious, but thereÕs so much more these brains can do.

            IÕm going to create a clone of Sally and name itÉ Sherman.

 

            Ok, next IÕm going set Sherman up to start hunting some sheep to gain that extra bit of experience that could be needed to win.

 

 

 

            Also, letÕs test out the shouting and listeningÉ I want Sherman to shout for friends if he sees an enemy. I also want him to shout for others if he hears another Sherman needs help. 

 

(You can see Sherman shout 2 if he sees enemies and 3 and 4 if he is getting closer.)

(The Ō1:Õ means itÕs a shout from team 1)

 

            You can run this experiment by going starting a battle with Sherman in it.

            Also, make sure you set ŌDraw ShoutsÕ to true so you can see their shouts.

http://www.austingriffith.com/aibattle/skirmish.php?humanbrain=Sherman&orcbrain=Melvin

           

            LetÕs see how ShermanÕs new improvements will do against Sally:

http://www.austingriffith.com/aibattle/battle.php?humanbrain=Sherman&orcbrain=Sally

 

 

Sherman seems to do quite well because he can call for reinforcements, plus he has the ability to hunt sheep.

 

I created a new clone of Sherman, named Eduardo.

 

Now, letÕs implement a few more features to get this brain ready for some big battles.

 

First off, letÕs make sure he will go home if he is hurt:

 

 

Well, Sherman is in first place on the web site; letÕs see if Eduardo can keep up with him:

 

How will Eduardo doÉ.

http://www.austingriffith.com/aibattle/war.php?humanbrain=Eduardo&orcbrain=Sherman