[freeciv-ai] Re: AI Diplomacy v8 (PR#2413)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Mar 05, 2003 at 01:56:52AM -0800, Per I. Mathisen wrote:
> On Tue, 4 Mar 2003, Raimar Falke wrote:
> > IMHO you make the same error again: hardcoding constants all over the
> > code. It should be the goal to divide the algorithm from the policy.
> There is no framework to do so. Putting them into existing frameworks
> (server vars, rulesets) is too cumbersome and will unnecessarily bloat
What about a
/* In evaluating want to attack when is a city considered big */
/* In evaluating want to attack what extra want to we add for an
enemy big city */
In some further step this can be loaded from some file but this is
just a next step.
"Are you saying that you actually used the Classpath Java AWT classes in
addition to the GTK peers and got them to display something?
Wow. That's way better than I did and I wrote the code!"
-- Aaron M. Renn in the classpath mailing list