Apolyton Archive  |  Preserved copy of The Spanish Civilization Site, one of the independent community sites Apolyton hosted at spanish.apolyton.net. Read-only; nothing here can be posted to or replied to.  |  Site home |  About this archive |  All Apolyton archives

Español / English

The Academy

 

Algorithm for playing against the AI

 

 

 

This little algorithm, that must be followerd turn by turn, includes any basic advices for playing against the Artificial Intelligence (AI). It's not a sure shot, and we haven't tested enouth at highest levels, so if you want to make any comments you can do it in our forum, specially in this thread. Don't worry if it's in spanish, we'll be glad to receive any comments in english too.

 

 

 

 

 

EVERY TURN

 

 

If starting game
     Build 2 warriors to explore the neighbourhood (don't make war at start)
End if

Compare our military strength (FM1) with every other (FM2)
If FM1 = FM2 (normal)
     Compare our power (P1) with every other (P2)
     If P1 < P2 or the civ is next to us
          Build military improvement / military unit (and not negociate)
     End if
End if

If FM1 < FM2 (weak)
     Build military improvement / military unit (and not negociate)
End if

If the first ring of cities surrounding the capital is already closed
     Build great wonder
End if

If there is space available to colonize
     If the population growth is 0 or 9999
          Build settler / worker
     End if
     Estimate the population growth
     If the city will have population >= 3
          Build settler
     End if
     Build military improvement / military unit
End if

If it is a conquered city
     Build cultural improvement (temple, library, university, etc.)
End if

If population growth is 0
     Build worker (or a settler in a ship)
End if

If population growth is 9999
     Build aqueduct / hospital
End if

If there are specialists
     Build (market?) temple / colosseum / cathedral / etc.
End if

If is a border city
     Build walls
End if

Build (balanced / cheapest):
     Production (granary / factory / central / etc.)
     Culture (temple / library / university / etc.)
     Money (market / bank / stock exchange / etc.)

Advice: Do not attack with unique units after leaving despotism.

 

 

 

 

 

END TURN

 

  Every turn you should read the loop and follow the instructions.

If a condition is satisfied, execute the instrucions and don't go on with the same point: next turn, read again from the beginning of the loop..

 

 

 

 

 

Fanciv