Hello! How to use ChatGPT to control the AI in Freeciv?
I am the developer of FCIV.NET the open source version of Freeciv in 3D using Three.js and supports up to 256 players, playable for free in the browser. The license is AGPL and the source code is here: GitHub - fciv-net/fciv-net: Fciv.net the 3D version of the Freeciv strategy game
The server is implemented in C and there is already a lot of code to implement the AI in the C server.
Some ideas:
- Each AI player inside the game has a ChatGPT AI personality which controls the nation and generates messages to other players.
- The ChatGPT can make strategic decisions for the AI players related to diplomacy, research technologies and warfare and defense.
- Use ChatGPT to generate in-game messages.
- Control the game using ChatGPT messages.
- ???
- Profit.