Re: Contest 2 Beta Arena

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Sun, 28 Nov 2004 09:52:33 -0800, cklester <guest at rapideuphoria.com> wrote:
> Patrick Barnes wrote:
> > > posted by: cklester <cklester at yahoo.com>
> > > The metrics seem to be wrong for all units after a few rounds.
> > How did you reproduce this error?
> > What is incorrect about the metrics? The number of units remaining? Is
> > it too high, too low, random-seeming?
> 
> What I was doing was printing out my own units' locations, then comparing
> them with what was displayed on the map. Whenever I paused the game, they
> weren't synchronized. I'm sure my bot is simply printing "old" data,
> while what's on screen is "updated" data. It would be nice if the pause
> occurred while my data and the display were the same.

Hmmm, odd.
Possibly because it sends the board state, receives the orders,
updates the display, then WAITS for the specified delay...

So you may not be receiving the right data?
I'm not sure exactly how to reproduce the problem, perhaps if you
fiddle with the timing? Or
change the loop to:
send the arena data, 
update the display
WAIT
retrieve all the orders
process the orders to create a new arena state.

(This is inside the run() procedure.)
-- 
MrTrick

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu