Darwinbots Forum

Bots and Simulations => Bestiary => Short bots => Topic started by: Atutouato on March 25, 2013, 06:32:03 PM

Title: Smarter Algae Follow (F1)(Atutouato)(25.3.2013)
Post by: Atutouato on March 25, 2013, 06:32:03 PM
My new vegetable bot!
It clumps in groups.  It's very nice.
It works well w/ my other bot, Leechbot, very well, because if you put one Leechbot into a SAF group, then it will attach to a lot of SAFs, reproduce, and repeat the cycle.
Here's the code:
Code: [Select]
' Smarter Algae verson Follow!
' Kind of a multibot, tries to protect itself from ties by bonding to all its family...
' Kind of wimpy, too.
' This version tries to meet with other members of its species.
cond
  *.refeye *.myeye =
start
  .tie inc
stop

cond
  *.robage 0 =
start
  .tie inc
  100 .stifftie store
stop

cond
  *.robage 1 =
start
  .deltie inc
stop

cond
start
  *.xpos *.ypos angle .setaim store
  20 .up store
stop

cond
  *.nrg 4000 >
  *.eye5 30 <
start
  50 .repro store
stop

end
Title: Re: Smarter Algae Follow (F1)(Atutouato)(25.3.2013)
Post by: Botsareus on May 02, 2014, 02:17:24 PM
Moving to short bots.