Bots and Simulations > Bot Tavern

Lets make another wikibot!

<< < (5/6) > >>

Botsareus:
This robot is definitely behaving more coherently now. Good contribution!  :)

Niemci:
Yay! Want to join in? It is fun, but I must wait for someone to post a line...

Botsareus:
Thx for the offer though.  8)

spike43884:
Ok, I am new to darwinbots, but lets have a go at this then *Cracks nuckles*

--- Code: ---start
 
.tie inc
 *.focuseye 505 add * 0 >
 *.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
 7 0 store
 -2 .venval store
 59 << *.robage 192 ceil >> rnd << << ++ store
 *.eyef 0 sub sgn abs -- abs 511 mult inc
 clearbool
 *.refbody << *.timer *323 rnd 3 ceil mult ++ .up store
 59 << *.robage 192 ceil >> rnd << << ++ store
 *.refeye 4 sub .sx store
 .shoot dec
 5 .sharenrg store
 *.body *.trefbody sub 10 div 65 floor .sharenrg store
*.tmemloc .chlr sub sgn abs .chlr mult .tmemloc *.tmemval 0 sub sgn abs 99 mult .sharenrg store 
*.refxpos *.refypos angle .aimshoot store
.chlr .memloc store
*.refxpos *.refypos dist 300 div *.maxvel mult *.refvel add 0 floor *.maxvel ceil .up store
cond *.availability 50 > start *.mkchlr 1

stop
--- End code ---
Oh btw did anyone else notice that XNOR & if is missing from the operators on WikiManual

Botsareus:
off topic:

There is no 'if' in db, just 'start' and 'else.' You can not make a duplex gene that uses both though. Amplification mutations take care of that.
Not sure if we need 'xnor'

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version