Bots and Simulations > Short bots
Sentry(Spike)(SB)4-19-2015
(1/1)
Botsareus:
--- Code: ---
'Sentry - Simplest bot ever for me to make.
'It's good for beginners to look at as well as I programmed it very self-explanatory.
'Programmed and given life by Spike43884 (and one bugfix by shadowgod2) on 19th of April 2015
'Gene 1 Blind Retaliation
cond
*.shdn 0 !=
*.shup 0 != or
*.shdx 0 != or
*.shsx 0 != or
start
*.shang .aimshoot store
-6 .shoot store
stop
'Gene 2 Reproduction
cond
*.nrg 30000 >
start
50 .repro store
stop
'Gene 3 I was born!
cond
*.robage 0 =
start
180 .aimdx store
stop
'Gene 4 Moving out
cond
*.robage 1 =
start
10 .up store
stop
'Gene 5 Almost moved out
cond
*.robage 3 =
start
10 .up store
stop
--- End code ---
spike43884:
--- Quote from: Botsareus on June 08, 2015, 04:32:28 PM ---
--- Code: ---
'Sentry - Simplest bot ever for me to make.
'It's good for beginners to look at as well as I programmed it very self-explanatory.
'Programmed and given life by Spike43884 (and one bugfix by shadowgod2) on 19th of April 2015
'Gene 1 Blind Retaliation
cond
*.shdn 0 !=
*.shup 0 != or
*.shdx 0 != or
*.shsx 0 != or
start
*.shang .aimshoot store
-6 .shoot store
stop
'Gene 2 Reproduction
cond
*.nrg 30000 >
start
50 .repro store
stop
'Gene 3 I was born!
cond
*.robage 0 =
start
180 .aimdx store
stop
'Gene 4 Moving out
cond
*.robage 1 =
start
10 .up store
stop
'Gene 5 Almost moved out
cond
*.robage 3 =
start
10 .up store
stop
--- End code ---
--- End quote ---
Its a nice one to write it is.
Hey bot, if you want a challenge, I'd love you to improve on one of later versions of AllEyes. Dayhem proud I be of them.
Navigation
[0] Message Index
Go to full version