General > Bot Challenges

Blind bot

(1/4) > >>

Panda:
I think this might have been used before... The challenge is to create a "fully functional bot" without using any of the eyes, any of the ins/outs or any of the refvars. I have no idea how possible this is to do and I haven't thought over it... but I think we should have a go...

Fully functional bot in this case(Stolen from PhiNotPi and modified) :

* Feed off of prey.  This can be as inefficiant as needed, as long as the bot gains net energy from the attack.
* Not attack conspecs.  It should not treat conspecs as enemies.
* Reproduce.  This should be controlled with some sort of condition.
* Populate the sim in F1 conditions.  It will be released into an environment of Alga_Minimalis.
I hope this will be harder than the last! :p It's fine to add or help with other bots too. I think this will work better as a community challenge!

ashton1993:
Well that's easy as done


--- Code: ---start
*.maxvel 20 div *.vel sub - .up *.vel *.maxvel 22 div sub sgn 1 sub abs mult store 'travel at constant velocity
.tie *.hitup -- abs mult inc 'if hit by something in front of you tie to it
.hitup *.hitup mult dec 'reset value of hitup
50 .sharenrg *.multi mult *.timer 10 mod -- abs sgn -- abs mult store 'share energy with everything it's tied too - including veggies which will give it energy every 10 cycles
50 .repro *.nrg 2000 sub sgn ++ sgn mult store 'when bot has 2000 energy reproduce
stop

--- End code ---

Just going to test it now

EDIT -> made a mistake in the reproduction part though I've now fixed it and the bot is doing well for itself

Panda:
It doesn't have to be short by the way. :p

ashton1993:
ah shucks it works anyway XD

Panda:
Okay... then, if anybody else submits one, then it will go against that one. :p (Makes it a little harder. Hehe.)

Navigation

[0] Message Index

[#] Next page

Go to full version