Author Topic: BlindBot[evo][interesting]  (Read 697 times)

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
BlindBot[evo][interesting]
« on: November 14, 2015, 10:55:19 AM »
Cute lil' bots that can operate without sight pretty well. It could be in the F1, but most certainly not designed for it!
Code: [Select]
'Tiebot shall only communicate via the tie. Also, it can do stuff blind.

'Delete birth tie and zoom a bit away
'Set up identity
cond
*.robage 0 =
start
.deltie inc
100 .up store
50 .tout1 store
stop

'OK,so I am not a baby. Make some ties.
cond
*.robage 10 >
*.numties 0 =
start
20 .up store
.tie inc   
stop

'If I tied to a conspec, break the tie and turn away
cond
*.tin1 *.tout1 =
*.numties 1 =
start
.deltie inc
123 .aimsx store
stop

'FEED (on veggie body)
cond
*.numties 0 >
*.tin1 *.tout1 !=
start
-6 .tieloc store
-50 .tieval store
*.tiepres .tienum store
stop

'If I can, create the childs
cond
*.nrg 5000 >
start
314 .aimdx store
50 .repro store
314 .aimsx store
stop

'If something is hurting me, break all ties
cond
*.pain 0 >
start
*.tiepres .deltie
50 .dn store
stop

'Metabolism
start
*.nrg *.body 10 mult add 20 div *.body sub 1 floor .strbody store
*.body *.nrg *.body 10 mult add 20 div sub 0 floor 30000 *.nrg sub 10 div ceil  .fdbody store
stop
To być albo nie być, oto jest ze pytanie

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
Re: BlindBot[evo][interesting]
« Reply #1 on: April 07, 2016, 06:40:04 AM »
Oooh, Interesting. I made a blind bot a while back, I believe I threw it into F1, it didn't as much 'communicate' and if friendly fire occurred it gained a vendetta (if I'm recalling it correctly that is....)!
I worked off using the ability to detect the angle a shot comes in, and fire a 'return' shot.

Its possible as well it had some sort of bump detection, I haven't done DB for a while so can't remember if a sysvar stores info on hitting things.
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.