Author Topic: Smarter Algae Follow (F1)(Atutouato)(25.3.2013)  (Read 2772 times)

Offline Atutouato

  • Bot Neophyte
  • *
  • Posts: 5
    • View Profile
Smarter Algae Follow (F1)(Atutouato)(25.3.2013)
« 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

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Smarter Algae Follow (F1)(Atutouato)(25.3.2013)
« Reply #1 on: May 02, 2014, 02:17:24 PM »
Moving to short bots.