Darwinbots Forum
Bots and Simulations => Bot Tavern => Topic started by: bacillus on March 15, 2008, 07:16:22 PM
-
Fungus is based on animal minimalis, as it wasn't designed to be a veggie at first but then behaved so much like one I decided to rewrite it:
cond
*.eye3 *.eye5 >
start
-25 .aimdx store
stop
cond
*.eye7 *.eye5 >
start
25 .aimdx store
stop
cond
start
3 .up store
*.refeye .tie store
*.nrg 5 div *.body sub .strbody store
*.body *.nrg 5 div sub .fdbody store
0 .fixpos store
50 .sharenrg store
*.out1 *.out2 angle .setaim *.out1 *.out2 mult mult store
50 .repro store
stop
cond
*.myeye *.refeye =
start
*.in1 *.out1 store
*.in2 *.out2 store
*.maxvel .dn store
stop
cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refxpos .out1 store
*.refypos .out2 store
stop
cond
*.eye5 40 >
*.refeye *.myeye !=
start
-1 .up store
-6 .shoot store
stop
cond
*.eye1 *.eye3 >
start
-25 .aimdx store
stop
cond
*.eye9 *.eye7 >
start
25 .aimdx store
stop
cond
*.trefeye *.myeye !=
start
*.tiepres .deltie store
stop
cond
*.numties 8 >=
start
.fixpos inc
stop
end
The ideal simulation I found for it so far is with 1000 nrg per cycle, planet eaters on @ 320, low maximum speed, max collision elasticity and largest possible map. This way, their growth looks like on a petri-dish.
-
I know...not great... if you really want this to work, you have to mess around with the settings
a bit.
I attached a photo of what my sim looked like after a few 1000 cycles:
[attachment=820:Fungus2.bmp]