Viva la stupido.
I just created a bot to beat the league
'Stupido Idiotus
'Doing strange things, killing own specie, suddenly doing nothing, has a hard time beating a bot that does nothing. Bot consist out of two parts, one doing nothing(stupid part), other one sometimes doing something(smart part)Made for MB-league, becouse of a phycics chance none of the bots are doing normal and this bot beats them all.
def job 50
def fixtie 51
cond
*.multi 1 =
*.fixtie 1 =
start
50 .sharenrg store
1 .tienum store
628 .fixang store
150 .fixlen store
20 .stifftie store
0 .fixtie store
stop
cond
*.robage 0 =
start
1 .tie store
1 .job store
1 .fixtie store
stop
cond
*.numties 0 =
*.robage 0 !=
start
50 .repro store
2 .job store
1 .fixtie store
15 .aimright store
stop
cond
*.nrg 30000 >
*.multi 1 =
*.eye5 30 <
*.job 1 =
start
1 .deltie store
stop
cond
*.numties 1 =
*.multi 1 =
start
50 .sharenrg store
stop
cond
*.eye5 0 >
*.eye5 45 <
*.refeye *.myeye !=
*.multi 1 =
*.fixtie 0 =
*.job 1 =
start
*.refxpos *.refypos angle .setaim store
*.refveldx .dx store
*.refvelup 30 add .up store
stop
cond
*.refeye *.myeye !=
*.multi 1 = and
*.fixtie 0 = and
*.eye5 40 > and
start
20 .schootval store
-6 .shoot store
stop
'body strenght
cond
*.nrg 4000 >
*.body 1000 <
start
100 .strbody store
stop
cond
*.job 1 =
*.eye1 = 0
*.eye2 = 0
*.eye3 = 0
*.eye4 = 0
*.eye5 = 0
*.eye6 = 0
*.eye7 = 0
*.eye8 = 0
*.eye9 = 0
start
10 .up store
stop
cond
*.job 1 =
*.eye5 0 =
' *.refeye *.myeye = or
'*.refshoot *.myshoot = or
*.multi 1 =
start
*.maxvel 10 div *.vel sub .up store
*.eye9 *.eye1 sub 4 mult .aimdx store
*.eye4 *.eye6 sub .aimsx store
stop