$begingroup$

I began making a Vue3 model of the traditional Sid Meier recreation Colonization. I’ve the essential participant mechanics in place and even created a map editor. So I’ve 3 of the 4X in place: Discover, Develop and Exploit, what’s lacking is Exterminate. However right here it will get difficult as I want an AI for the natives and different European nations. I do not even know the place to start out. I’ve seen this query however that is extra about path discovering and actual time AI. What I want is a tactical AI in a flip based mostly atmosphere. As I do not know what the unique recreation did I can solely guess a number of factors.

Natives:

  • Place a number of vilages in the identical normal space of the map -> I feel with some random logic I ought to be capable of try this (I already use seedrandom for putting the particular assets on the map)
  • Character motion -> Already will get a bit trickier: what boundaries ought to the motion have
  • Agression -> When are they getting pissed by the Europeans and begin attacking and find out how to decide how briskly they will produce models

European competitors:

  • The fundamental from the natives apply as effectively, however they should discovered their settlements with some logic behind, so no easy randomization. Possibly near particular assets
  • Completely different behaviours from the unique recreation, eg. the Spanish are agressive in opposition to natives, the Dutch focus totally on commerce, and so forth.
  • Diplomacy between one another and the participant

Independence:

  • I feel this must be simpler once more, simply add models to their military relying on the scale of the participant popoluation, cities and cash and assault the coastal cities in waves.

So my query is: find out how to implement such an AI?

$endgroup$

2

It’s essential to log in to reply this query.