Menu

#2 AI improvements

Unstable
open
nobody
None
1
2020-12-23
2012-11-25
No

Here's a patch for the ai that simplifies most of the logic in the ai classes except for AIHard - which has expanded logic for deeper, yet quick, planning.

A hard player will attempt to be more balanced with attack/defense using its relative standing in the game as a guide. It also has a greater emphasis on capturing continents rather than just harassment.

Most of the logic is still stateless and could be refined much further. The capital/mission logic is also a little weak as it is mostly just an extension of the hard logic with specific weighting adjustments, rather than more in-depth logic. I also kept the logic somewhat in line with the rest of the project which seems mostly written for 1.4, but could easily be updated if requested.

Let me know if you have any questions and if this is of interest.

1 Attachments

Discussion

  • Steve Hawkins

    Steve Hawkins - 2012-12-01

    here's a refinement that also has better capital play.

     
  • Yura

    Yura - 2013-06-23

    these changes are included as of v1.1.1.3

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.