Point-to-Point Response to Reviewer XJ4N
We thank reviewer 8arZ for the valuable time and constructive feedback.
#### **Q1: As a work in the area of datasets and benchmarks, I think a lot of the details are in the code, and I don't have good confirmation of those details just by virtue of the text in the paper. This environment is based on an open-source game <http://freeciv.org/>. I don't know how different is the open-source game and the environment introduced by the authors. It would be excellent if authors could give reviewers an early release of code to review.**
**A1:**
That is an excellent question. We have released our code on GitHub at an anonymous account for review purposes: <https://github.com/civrealm>. and you can also access our documentation at: <https://civrealm.github.io/civrealm/>. This GitHub account hosts four distinct repositories <https://github.com/civrealm?tab=repositories>:
- `civrealm`: this repository contains the core code of the CivRealm environment, encompassing both tensor-based and language-based APIs, along with comprehensive documentation.
- `civrealm-sav`: this repository contains the code responsible for creating the mini-games, which also enables users to customize their own games and generate new maps.
- `civrealm-tensor-baseline`: this repository provides the code for our baseline tensor-based RL agents.
- `civrealm-llm-baseline`: this repository hosts the code for our LLM agents, including BaseLang and Mastaba.
In the following, we would like to explain the relationship between Civrealm and the Freeciv game. To put it briefly, it is analogous to the relationship between pysc2 ([link](https://github.com/google-deepmind/pysc2)) [ref1] and the Starcraft game.
Specifically, Freeciv is a game that supports graphical interfaces for human players. However, this interface type is **not** designed for RL or language agents, i.e., accessing states and executing actions through tensor or language. To expose Freeciv as a research environment, we have developed CivRealm with an OpenAI Gym-style API to facilitate interaction between AI agents and Freeciv. In other words, Civrealm implements a proxy API that enables programmatic control of Freeciv. Through this API, AI agents can start/join a game, obtain game states, perform actions, and capture screenshots to generate game replays.
To implement the API, we conducted an in-depth exploration of the internal workings of Freeciv. This involved:\
(1) delving into the process of parsing game states and issuing action commands through communication packets, \
(2) building concurrent communication flows and thoroughly testing the environment to ensure smooth training and testing processes, \
(3) configuring server settings for diverse game modes, \
(4) developing infrastructure for parallel training, and \
(5) incorporating various other supporting features for research with the game, including quantitative metrics.
In summary, we have constructed a comprehensive infrastructure that encompasses various controller, state, and action classes designed for multifaceted game control, thus facilitating interaction with the Freeciv server.
Additionally, we have added support for tensor-based and LLM-based agents and have created a new game mode: "mini-game ([doc link](https://civrealm.github.io/civrealm/advanced_materials/minigame.html))". For more detailed documentation of our implementation, please refer to: <https://civrealm.github.io/civrealm/>.
We sincerely appreciate your thoughtful review, and we hope we have addressed your concerns. Please do not hesitate to reach out if you require any further information.
---
[ref1] Samvelyan, Mikayel, et al. "The starcraft multi-agent challenge.", 2019.