Does anyone know civ can be played programatically?

joemarji

Chieftain
Joined
Feb 8, 2021
Messages
1
Hello everyone,

I'm trying to build an AI for the game with DL and game theory.

I have no experience with the API and I was wondering if you can use the API to play the game programmatically?

i.e. run a some code that make a civ move and take a turn.

Respectfully,
Joe
 
not possible at this time, best you can do is influence the weighting for decisions.

except maybe by setting a game in hotseat with all civs human then code the AI using the UI functions.

but there is no official API, you have to browse the files or see here:
https://forums.civfanatics.com/threads/lua-objects.601146/
 
Back
Top Bottom