[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
AI Challenge Forums • View topic - Planet.java

It is currently Thu Apr 26, 2018 9:14 am Advanced search

Planet.java

Random stuff about the contest, posts that don't fit in the other forums.

Planet.java

Postby DmitryG » Sun Sep 12, 2010 2:40 pm

DmitryG
Cadet
 
Posts: 2
Joined: Sun Sep 12, 2010 2:25 pm

Re: Planet.java

Postby gvsmirnov » Sun Sep 12, 2010 4:36 pm

You might want to run some simulations while choosing your actions, and modifying the state of a planet is required to do so.
On each turn, all the planets and fleets are re-sent to the player, and whatever you might have changed on your side gets discarded.

That is, if you keep the implementation that is in the starter package, and modify only MyBot.java. I, for example, re-wrote nearly everything that the starter package included, for various reasons.
gvsmirnov
Captain
 
Posts: 27
Joined: Thu Sep 09, 2010 8:13 pm

Re: Planet.java

Postby DmitryG » Sun Sep 12, 2010 6:57 pm

Thanks!I'm thinking about rewriting starter package, not just sure yet what i want to add.
Simulation, hmm, that's interesting, i'll try to use that.
DmitryG
Cadet
 
Posts: 2
Joined: Sun Sep 12, 2010 2:25 pm


Return to Misc

Who is online

Users browsing this forum: No registered users and 1 guest

cron