BitBath launches!

Post Reply
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

BitBath launches!

Post 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
Captain Segfault
Posts: 67
Joined: Sat May 05, 2007 6:11 pm
Location: San Carlos, CA
Contact:

Post 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?
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post 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
Post Reply