Author Topic: Masterl 2nd Installment to the Multibot Brain  (Read 3549 times)

Offline rsucoop

  • Bot Destroyer
  • ***
  • Posts: 166
    • View Profile
Masterl 2nd Installment to the Multibot Brain
« on: April 27, 2008, 12:51:25 PM »
'The Master Left
'2nd Installment to the Brain theory

def timer 40

cond
*.robage 1 =
start
.tie inc
*.myeye .tout10 store
*.myshoot .out4 store
stop

cond
*.eyef 0 = or
*.refshoot *.myshoot = and
*.out4 *.in4 !=
start
*.timer 9 mod 4 sub .focuseye store
stop

cond
*.eyef 50 >
*.in4 *.out4 !=
start
*.refvel .vel store
*.refxpos *.refypos angle .setaim store
0 .focuseye store
*.nrg 10 div .shootval store
stop

cond
*.eyef 40 >
*.in4 *.out4 !=
*.pain 10 >
*.refshoot 0 >
start
-1 .shoot store
stop

cond
*.numties 0 =
*.tiepres 0 !=
*.tout10 *.tin10 !=
start
*.tiepres .deltie store
stop

cond
*.eyef 0 >
*.refslime 0 =
start
.tie inc
stop

cond
*.eyef 0 = or
*.out4 .in4 =
start
*52 *53 angle .setaim store
stop

'Tie Reader

cond
start
.timer inc
*.numties mod *.timer sub .readtie store
40 .fixlen store
34 .stifftie store
*.aim .fixang store
stop

cond
*.tout10 = *.tin10
*.eyef 0 = or
*.out4 *.in4 =
start
*.tin1 52 store
*.tin2 53 store
*.tin1 .tout1 store
*.tin2 .tout2 store
stop

cond
*.trefnrg *.nrg >
*.tin10 *.tout10 !=
start
-1 .tmemloc store
-1000 .tmemval store
stop

cond
*.eyef 0 =
*.nrg 6000 >
start
40 .repro store
stop

cond
*.eyef 0 >
*.nrg 4000 >
start
-60 .sexrepro store
-8 .shoot store
stop

cond
*303 1 =
start
60 .sexrepro store
stop

'Turn to enemy

cond
*1256 *.shang sub *.refxpos *.refypos angle %=
start
*1256 *.shang sub .shootaim store
*.nrg *.pain div .shootval store
-1 .shoot store
stop

cond
*.out4 *.in4 =
start
60 *.aim add .setaim store
stop

cond
*.out4 *.in4 !=
*.eyef 10 >
*.refeye *.myeye !
*.refshoot 0 >
start
*.refxpos .tout1 store
*.refypos .tout2 store
*.refxpos *.refypos angle .setaim store
-1 .shoot store
stop

cond
*.pain *.nrg <
start
*.maxvel *.vel sub .up store
*.eyef rnd 100 .aimsx store
stop

cond
*.nrg 5000 >
*.body 1000 <
start
40 .strbody store
stop

cond
*.nrg 4000 <
*.body 100 >
start
50 .fdbody store
stop

end

This bot forms a circle, and then devours anything near it. The tie communications keep the group singleminded on a task. Enjoy.
« Last Edit: April 27, 2008, 01:05:28 PM by rsucoop »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Masterl 2nd Installment to the Multibot Brain
« Reply #1 on: May 02, 2014, 12:08:01 PM »
Completely does not qualify for MB, moving to untagged.