Author Topic: The really random random bot  (Read 5342 times)

Offline gymsum

  • Bot Destroyer
  • ***
  • Posts: 215
    • View Profile
The really random random bot
« on: May 07, 2008, 12:25:16 AM »
Ok, adopted from a random bot I found that made a huge list of 0 stores, I've created a bot that randomly increases random locations in random increments. Its only 3 genes and is for a primative but adaptable veggie. Eventually a random store in repro or mrepro will produce offspring, not meant for overly agressive bots, more of a Evo bot.

'random bot,veggie

cond
*.robage 10 10 rnd sub mod 1 =
start
.memloc dec
.memval inc
stop

cond
*.robage 20 10 rnd sub mod 1 =
start
*.memloc rnd *.eyef .memloc store
*.memloc rnd *.robage .memval store
stop

cond
*.robage 5 10 rnd sub mod 1 =
start
.memloc inc
.memval inc
stop
« Last Edit: May 07, 2008, 12:25:59 AM by gymsum »

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
The really random random bot
« Reply #1 on: May 07, 2008, 02:08:58 AM »
The *.memloc rnd statements in the second gene don't do anything that I'm aware of.
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan

Offline gymsum

  • Bot Destroyer
  • ***
  • Posts: 215
    • View Profile
The really random random bot
« Reply #2 on: May 07, 2008, 09:07:21 AM »
Once a memloc has been picked, it does a random selection from current memloc tot he eyef return, so it can go from say repro to 0 memloc depending on the eyef. Thats the gene that sometimes makes the bot take off in a directio with velocity.

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
The really random random bot
« Reply #3 on: May 14, 2008, 02:35:52 AM »
So half the time it won't do anything?
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan

Offline gymsum

  • Bot Destroyer
  • ***
  • Posts: 215
    • View Profile
The really random random bot
« Reply #4 on: May 14, 2008, 08:59:23 AM »
precisely, until point mutations or generations of mutations later, it will evolve to do thigns all of the time, and some of the time.

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
The really random random bot
« Reply #5 on: May 14, 2008, 01:03:38 PM »
That's a cool idea! I'll see if I can add that one into my current sim.
The internet is corrupt and controlled by criminally minded people.

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
The really random random bot
« Reply #6 on: May 15, 2008, 02:35:46 AM »
Umm, I was actually referring to the times when it won't have anything in front of it. Also for the two store commands, you are giving it three variables, so the memloc reference will be used as the floor value for the second store, and that value will then fizzle.
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan

Offline gymsum

  • Bot Destroyer
  • ***
  • Posts: 215
    • View Profile
The really random random bot
« Reply #7 on: May 15, 2008, 06:17:55 AM »
True, but only should eyef return anything above 0, otherwise its age comes in and does almost the same nothing. I've run a long sim with thkis veggie, about 27600 cycles later, they were adapting to sexually reproduce, the same problem remained though, it still carried the memloc genes. But since it overpopulates, mroe often then not it sees something.

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
The really random random bot
« Reply #8 on: May 16, 2008, 05:15:23 AM »
You should really rewrite it; as far as I know, manipulating .memval does nothing, mainly because it doesn't make nearly as much sense as -- or ++, but also it might be a read-only variable.
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan

Offline abyaly

  • Bot Destroyer
  • ***
  • Posts: 363
    • View Profile
The really random random bot
« Reply #9 on: May 28, 2008, 04:58:13 PM »
Quote from: bacillus
but also it might be a read-only variable.
it is.
Lancre operated on the feudal system, which was to say, everyone feuded all
the time and handed on the fight to their descendants.
        -- (Terry Pratchett, Carpe Jugulum)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
The really random random bot
« Reply #10 on: May 28, 2008, 05:40:36 PM »
You can write to it, but the value will get overwritten next cycle.  So the only use is tricking or confusing DNA downstream.
« Last Edit: May 28, 2008, 05:41:19 PM by Numsgil »