Author Topic: Sentry(Spike)(SB)4-19-2015  (Read 3340 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Sentry(Spike)(SB)4-19-2015
« on: June 08, 2015, 04:32:28 PM »
Code: [Select]

'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


Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Sentry(Spike)(SB)4-19-2015
« Reply #1 on: June 09, 2015, 12:59:26 PM »
Code: [Select]

'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

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.
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.