Page 1 of 1

Resources for developing the AI.

Posted: Fri Aug 15, 2025 1:46 pm
by Sanguivorant
Hello,

So I spend a lot of time with this game simulating the AI fighting against each other, and I've noticed a lot of AI behaviour that I want to try fixing.

Only issue is that I have absolutely no idea where to start. there seems to be a bunch of different files in the source code pertaining to the AI.

Is there any resource for understanding how to program this AI? Thanks.

Re: Resources for developing the AI.

Posted: Fri Aug 15, 2025 4:00 pm
by Elefant

Re: Resources for developing the AI.

Posted: Thu Jan 01, 2026 4:18 pm
by Sanguivorant
Would a deep learning algorithm work for improving this AI?

We would just need to give the AI the base mechanics of the game, then either reward it based on certain game events (more production output, unit killed, city captured, tech earned), or punish for bad events, log the action taken that resulted in that event and use it on a regression algorithm that affects the actions taken. Over thousands of games, maybe the AI can learn how to use all of the game mechanics in a way that makes it very effective at doing certain things.