Author Topic: Trying to make a multibot  (Read 683 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Trying to make a multibot
« on: September 11, 2013, 06:01:36 AM »
I can't figure out how tie sharing works.

Code: [Select]
cond
*.robage 0 =
start
67 .memloc store
101 67 store
.tie inc
100 .stifftie store
stop

cond
*.refxpos 0 > and
*.memval *67 !=
start
*.refxpos *.refypos angle .setaim store
-1 .shoot store
stop

cond
*.nrg 16000 > and
*.numties 3 <
start
50 .repro store
314 rnd .aimdx store
stop

cond
*.nrg 16000 > and
*.numties 2 >
start
*.tiepres .tienum store
32 .tieval store
-1 .tieloc store
stop

cond
*.nrg 8000 < and
*.numties 0 >
start
*.tiepres .tienum store
-32 .tieval store
-1 .tieloc store
stop

cond
*.body 16000 >
start
50 .fdbody store
stop

EDIT: I think I got it.
« Last Edit: September 11, 2013, 09:32:28 AM by Testlund »
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Re: Trying to make a multibot
« Reply #1 on: September 11, 2013, 09:31:01 AM »
Once the bot population reach generation 3 they can't tie to each other anymore. Why is that?
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Trying to make a multibot
« Reply #2 on: September 14, 2013, 01:07:43 PM »
Quote
Once the bot population reach generation 3 they can't tie to each other anymore. Why is that?

That is really weird, I'll have to take a look.

Does it happen under any robot design?