Resources for developing the AI.

Can you help improve your favourite game? Hardcore C mages, talented artists, and players with any level of experience are welcome!
Post Reply
Sanguivorant
Posts: 31
Joined: Mon Apr 25, 2022 12:54 am

Resources for developing the AI.

Post 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.
Elefant
Hardened
Posts: 248
Joined: Sat May 28, 2022 3:55 am

Re: Resources for developing the AI.

Post by Elefant »

Civ 3 tileset: viewtopic.php?t=92953
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
Sanguivorant
Posts: 31
Joined: Mon Apr 25, 2022 12:54 am

Re: Resources for developing the AI.

Post 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.
Post Reply