Author Topic: Alga Sploo22 (V)(Sploo22)-16.01.04  (Read 1108 times)

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
Alga Sploo22 (V)(Sploo22)-16.01.04
« on: December 03, 2006, 12:12:00 PM »
'Topic: A few newbie questions  
'Sploo22 unnamed bot needs to be veg or fails

' My third multibot attempt.
' <sigh>
' Cell 50 is the current state:
' 0 - just created
' 1 - growing
' 2 - reproducing
' 3 - waiting to form tie
' 4 - just formed tie - turning
' 5 - mature

cond
*50 4 =
start
314 .aimsx store
5 50 store
stop

cond
*50 3 =
*51 40 >=
start
1 .tie store
4 50 store
stop

cond
*50 3 =
*51 40 <
start
*51 1 add 51 store
stop

cond
*50 2 =
start
0 51 store
50 .repro store
3 50 store
start

cond
*50 1 =
*.nrg 5000 >
start
314 .aimdx store
2 50 store
stop

cond
*50 0 =
start
314 .aimdx store
30 .out1 store
1 50 store
stop

end
If you try and take a cat apart to see how it works, the first thing you have in your hands is a non-working cat.
Douglas Adams