Author Topic: Bloombomb  (Read 832 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Bloombomb
« on: September 09, 2013, 12:16:26 PM »
I'm not sure what category this belongs to. Maybe ecobot.

Code: [Select]
'*************************************
'*            BLOOMBOMB              *
'*         Made by Testlund          *
'*         September 9, 2013         *
'*                                   *
'* Works well with colonies of algae.*
'*    Make sure to disable vision.   *
'*************************************

cond
*.robage 0 =
start
67 .memloc store
101 67 store
.tie inc
stop

cond
*.refxpos 0 > and
*.memval *67 !=
start
*.refxpos *.refypos angle .setaim store
-1 .shoot store
stop

cond
*.nrg 16000 > and
*.body 16000 <
start
50 .strbody store
stop

cond
*.body 16000 > and
*.nrg 16000 <
start
50 .fdbody store
stop

cond
*.nrg *.body %=
start
50 .repro store
314 rnd .aimdx store
stop

cond
*.nrg 24000 >
start
314 rnd .aimdx store
-2 .shoot store
stop

cond
*.waste 500 >
start
10 .mkchlr store
stop
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine