def 60 enemy
def 61 lookat
def 62 center
def 63 minmass
def 64 waitforborn


'gene 1
cond
*.numties 1 =
*.robage 10 >
*.refeye *.myeye !=
*.eye5 50 <
' *.robage 7 mod 0 =

start
'*.robage *.body mod 20 div add .up store
*.robage 8 mod .up store
*.robage 24 mod 12 sub .aimdx store
stop

'gene 2
cond
*.numties 1 =
*.robage 10 >
*.refeye *.myeye =
*.eye5 50 <
*.robage 10 >

start
5 .dn store
*.robage 24 mod 12 sub 2 mult .aimsx store

stop

'making the bot connections

'gene3
cond
*.numties 2 <
*.nrg 300 >
*.robage 22 >
*.eye5 0 =
'*.totalmyspecies 1000 <
*.body 150 >
*.robage 10 mod 9 =
start
60 .repro store
stop

'gene 4
cond
*.robage 0 =
start
10 .dn store
.tie inc
stop

'gene 5
cond
*.robage 1 =
start
628 .aimdx store
stop


'Aim your eye if your a body part..

'gene 6
cond
*.numties 2 =
*.robage 25 >
*.refeye *.myeye !=
*.eye5 50 <
start
*.robage 18 mult .eye5dir store
99 .stifftie store
3 .up store
stop


'gene 7
cond
*.refeye *.myeye =
start
*.robage 18 mult 3 mult .eye5dir store
stop

'gene 8
cond
*.numties 2 =
*.refeye *.myeye !=
*.eye5 50 >
start
1256 *.eye5dir sub .aimshoot store
-1 .shoot store
stop

'gene 9
cond
*.multi 1 =
*.numties 1 =
start
-40 .sharenrg store
.sharewaste inc
0 .eye5dir store
stop

'gene 10
cond
*.numties 1 =
start
*.tiepres .tienum store
2 .tielen store
stop

'gene 11
cond
*.multi 1 =
*.nrg 500 >
start
*.tiepres .tienum store
-1 .tieloc store
100 .tieval store
10 .up store
3 .strpoison store
1 .mkshell store
stop

'gene 12
cond
*.multi 1 =
*.body 850 >
*.robage 100 div *.body >
start
*.tiepres .tienum store
-6 .tieloc store
10 .tieval store
5 .up store
stop

'gene 13
cond
*.body 200 <
*.robage 35 >
*.nrg 200 >
start
10 .strbody store store
.waitforborn dec
stop


'gene 14
cond 
*.numties 2 <
'*.multi 1 !=
'*.tiepress 0 =
*.refeye *.myeye !=
start

*.eye5 9 div 10 add .up store
*.eye5 50 sub sgn 1 sub sgn 1 add -1 mult .shoot store

0 .eye5dir store
' 30      -20  -1    -2  -1    0
' 50        0   0    -1  -1    0 
' 60       10   1     0   0    1
stop


cond
*.waste 40 >
start
'.backshot inc
-4 .shoot store
*.waste .shootval store
stop
