bigai-ai / civrealm

CivRealm is an interactive environment for the open-source strategy game Freeciv-web based on Freeciv, a Civilization-inspired game.
GNU General Public License v3.0
79 stars 6 forks source link

Support for natural language communication between players. #1

Open fringsoo opened 4 months ago

fringsoo commented 4 months ago

It would be great if the natural language messages from the chat box could be added into the observation / action space of the agents.

vshallc commented 3 weeks ago

This is available after 389d246577e7bbc9f253618fea6e0fb1d173d829 in branch dev now.

The text from chat box can be get from observation['game']['messages']

and the message can be sent by assign text value to action['player']['message'].

Some functional prefixes in sending messages: