YuhangSong / Arena-Baselines

Arena: A General Evaluation Platform and Building Toolkit for Single/Multi-Agent Intelligence. AAAI 2020.
https://sites.google.com/view/arena-unity/
MIT License
101 stars 8 forks source link

Two different agents playing a board game #16

Open chairiq opened 4 years ago

chairiq commented 4 years ago

Hi,

Does you system support zero-sum games? For example I mean a board game played by two different agents (bass on ml-agents asymmetric game, with two agents with different behavior parameters).

My problem is that I need to use my own game with baselines (openAI) or RLlib type algorithms, mainly a gym like wrapper I would prefer.

I could not find any instruction on how to setup my own game in your system.

YuhangSong commented 4 years ago

If you are looking for building a interface for your own game, it would be good to look at the interface we build here: https://github.com/YuhangSong/Arena-Baselines/blob/30db2929ccdbc085876a232edc875bd9ac6e33f7/arena/envs.py#L26 and test it with the script here: https://github.com/YuhangSong/Arena-Baselines/blob/master/test_arena_rllib_env.py

Does that address your questions?

Yuhang Song | Doctoral Student Computer Science, University of Oxford Email: Yuhang.Song@some.ox.ac.uk Home: https://sites.google.com/view/yuhangsong/ On 29 Apr 2020, 15:43 +0800, Chairi Kiourt notifications@github.com, wrote:

Hi, Does you system support zero-sum games? For example I mean a board game played by two different agents (bass on ml-agents asymmetric game, with two agents with different behavior parameters). My problem is that I need to use my own game with baselines (openAI) or RLlib type algorithms, mainly a gym like wrapper I would prefer. I could not find any instruction on how to setup my own game in your system. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

chairiq commented 4 years ago

Thank you very much, I will try it and I will inform you.