Page 1 of 1

BitBath launches!

Posted: Sun Nov 11, 2007 4:55 am
by adum
the latest hacker.org game is looking for brilliant bot strategists! control your bot army, capture cities, and destroy the opposition.

we're open to suggestions on game modifications. let's see what works and what doesn't with this new game. i'm confident some really interesting strategies will emerge.

adum

Posted: Wed Nov 14, 2007 4:34 am
by Captain Segfault
Is it possible for a unit to radio without stopping?

Or, more generally, how does radio work? Ie, what does a bot need to do to have its radio array show up in someone else's incomingRadio? For how long does it show up?

Posted: Wed Nov 14, 2007 7:09 am
by adum
any time any of the four ints in the radio array are non-zero, a radio signal will be emitted (so you don't have to stop or even get a time slice that turn.) so, once you set your radio var, it will remain set and broadcasting until you set all the values to zero.

the Herd.java sample bot shows one way to use radio, tho i know it's a little obtuse.

adum