Bots and Simulations > Bot Tavern

Probably the most unpredictable bot ever

(1/1)

d-EVO:
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: ---'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
--- End code ---

Navigation

[0] Message Index

Go to full version