Author Topic: Probably the most unpredictable bot ever  (Read 1128 times)

Offline d-EVO

  • Bot Destroyer
  • ***
  • Posts: 125
    • View Profile
Probably the most unpredictable bot ever
« on: November 05, 2008, 07:23:44 PM »
This bot will do something different in the exact same situation every time. no rnd functions were used
I am developing my first multi bot and it was working quite predictably. I  edited a few things and the next thing I  know theres are chunks of bots flying around the screen.
It is suposed to asume a hexagonal shape. which it does. right before reproducing itself to death.
enjoy

Code: [Select]
'Ameoba

*.construction

cond
 *.multi 0 =
 *.robage 30 <
start
 0 .timer store
stop

cond
 *.robage 0 =
 *.timer 5 <
start
 83 *.timer 1 add 3 mult sub .repro store
stop

cond
 *.robage 0 =
 *.timer 6 <
start
  425 .aimsx store
stop

cond
 *.robage 1 =
 *.timer 7 <
start
  1 .tie store
stop

cond
 *.multi 1 =
start
 1 .tienum store
 50 .stifftie store
 100 .fixlen store
 50 .sharenrg store
stop

cond
 *.multi 1 =
 *.timer 35 <
start
 -1 .fixang store
 20 .up store
stop

cond
 *.timer 28 =
start
 *.tieang .fixang store
 30 .fixlen store
stop

end
« Last Edit: November 21, 2008, 04:58:35 PM by d-EVO »
1:      2 is true
2:      1 is false