Bots and Simulations > The Gene depository

The really random random bot

(1/3) > >>

gymsum:
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

bacillus:
The *.memloc rnd statements in the second gene don't do anything that I'm aware of.

gymsum:
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.

bacillus:
So half the time it won't do anything?

gymsum:
precisely, until point mutations or generations of mutations later, it will evolve to do thigns all of the time, and some of the time.

Navigation

[0] Message Index

[#] Next page

Go to full version