1
I found this program about a week ago, and I became interested in the league competition. I read some of the tutorials and I decided to make a short-bot. I'm posting the DNA here.
'Malificus Minimus
' Gene 1 Catch
cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 40 add .up store
stop
' Gene 2 Eat Vegs
cond
*eye5 40 >
*refeye 0 =
start
-1 .shoot store
*.refvelup 5 add .up store
' Gene 3 Infect Enemies
*.eye5 40 >
*.refeye 0 >
*.refeye *.myeye !=
start
0 .nrg store
*.thisgene .mkvirus store
40 .vshoot store
stop
' Gene 4 Avoid/Search
cond
*.eye5 0 =
*.refeye *.myeye =
start
471 rnd .aimdx store
stop
' Gene 5 Reproduce
cond
*nrg 8000 >
start
50 .repro store
stop
end
The Catch and Avoid/Search genes and part of the Eat Vegs gene were taken from Animalis Minimis. My main question is about the virus. I haven't had the time to test it, but it should work. If it does, can I use it in competition? It seems like a pretty unfair attack, and the only way I can see to defend against it would make the bot almost immortal. Any other advice would be greatly appreciated.
'Malificus Minimus
' Gene 1 Catch
cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 40 add .up store
stop
' Gene 2 Eat Vegs
cond
*eye5 40 >
*refeye 0 =
start
-1 .shoot store
*.refvelup 5 add .up store
' Gene 3 Infect Enemies
*.eye5 40 >
*.refeye 0 >
*.refeye *.myeye !=
start
0 .nrg store
*.thisgene .mkvirus store
40 .vshoot store
stop
' Gene 4 Avoid/Search
cond
*.eye5 0 =
*.refeye *.myeye =
start
471 rnd .aimdx store
stop
' Gene 5 Reproduce
cond
*nrg 8000 >
start
50 .repro store
stop
end
The Catch and Avoid/Search genes and part of the Eat Vegs gene were taken from Animalis Minimis. My main question is about the virus. I haven't had the time to test it, but it should work. If it does, can I use it in competition? It seems like a pretty unfair attack, and the only way I can see to defend against it would make the bot almost immortal. Any other advice would be greatly appreciated.