Bots and Simulations > Simulation Emporium

The case of blind Mr Magoo

(1/3) > >>

shvarz:
Here is a very basic simulation to show some important concepts to people not experienced in running long simulations.

Mister Magoo is a curious bot - it does not use eyes at all.  It runs forward until it bumps into something, then it checks that it's not its own species and starts feeding.

As a result, Mister Magoo is a very inefficient bot.  Let me show you how you can run a long sim with this bot.

Since this bot is a very poor hunter, it requires a high concentration of food in the environment, so we are forced to use a small-size playing field.  I used the second smallest one (16000x12000).  If you go bigger, then simulation slows down too much.  If you go smaller, then you run into a very small population size of Mister Magoo, which may die out simply by chance.

I used the default veggie (Alga minimalis), but gave it only 1 energy per cycle and set the limit of population to 300 so that Magoo had time to catch up to growing veggie population.

The last thing that's worth mentioning here is that I had to jump-start the sim by placing a lot of bots on the field in the beginning - 150 veggies, 200 bots.

This is it - all other settings are at default and the simulation runs for millions of cycles with bot population oscillating between 100 and 300 bots.  Enjoy!

Edit: This post refers to 2.36.7 version of DB.

PurpleYouko:

--- Quote ---Mister Magoo is a curious bot - it does not use eyes at all. It runs forward until it bumps into something, then it checks that it's not its own species and starts feeding.
--- End quote ---

So how does it check anything if it has no eyes?

The program specifically doesn't go through the "writesenses" routine if the genome has no eye commands. That means that it can't check anything unless it makes a tie first to read through. All the refvars won't work.

shvarz:
From designer: "Bot is cannibotisitic, but is designed to avoid feeding on offspring and one another".

I have no idea how he did it :)  I just took it for granted.

Endy:

--- Quote ---So how does it check anything if it has no eyes?
--- End quote ---

Taste and touch, sheez how do blind people manage. :D That crafty Mister Magoo, I think he knew what he was doing the whole time. :lol:

Since it's the only species in the sim, it's safe to assume anyone else shooting at you is a member. Anything that the bot hits that tries to eat it back is avoided. It also turns a rnd amount at birth, so as to avoid it's parent.

This is actually one of my more complex bots. The lack of vision really tested my skills as a designer. Was a devil trying just to keep them from completly destroying each other, let alone adding a basic hunting ability.

PurpleYouko:
Clever bit of design work there Endy.

I can always tell your bots from the complicated algorithms in them.  :D

Navigation

[0] Message Index

[#] Next page

Go to full version