Author Topic: Devincio Minimalis (6G)(PY)-06.03.04  (Read 3803 times)

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Devincio Minimalis (6G)(PY)-06.03.04
« on: February 21, 2005, 05:10:25 PM »
Code: [Select]
'Devincio_Minimalis
' *** Tie Hunter for Short_Bot league***
'Son of HDV for V2.15
'Dreadfully inefficient but kicks ass in a fight
'Modified for V3.0
'***********************

'reproduce
'***********
cond
*.nrg 5000 >
*.eye5 0 =
start
20 .repro store
628 .aimdx store
stop

'turn towards food
'*************************
cond
start
*.eye9 *.eye1 sub 4 mult .aimdx store
40 *.vel sub .up store
200 *.slime sub .mkslime store
stop

cond
*.eye4 *.eye6 !=
start
*.eye6 *.eye4 sub .aimdx store
stop


'avoid other conspecifics
'****************************
cond
*.refeye *.myeye =
*.eye5 20 >
start
628 .aimsx store
stop

'attack an enemy
'********************
cond
*.eye5 30 >
*.eye6 *.eye4 %=
*.refeye *.myeye !=
start
1000 rnd 50 store
*50 .tie store
0 .aimdx store
*50 .readtie store
.mkslime .shoot store
-100 .shootval store
stop

'Feed
'******
cond
*.numties 0 >
*.trefeye *.myeye !=
start
*.tiepres .tienum store
-1000 .tieval store
-1 .tieloc store
stop

end
« Last Edit: May 13, 2014, 04:28:37 PM by Botsareus »
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D