Arena-Baselines icon indicating copy to clipboard operation
Arena-Baselines copied to clipboard

Two different agents playing a board game

Open chairiq opened this issue 4 years ago • 2 comments

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.

chairiq avatar Apr 29 '20 07:04 chairiq

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: [email protected] Home: https://sites.google.com/view/yuhangsong/ On 29 Apr 2020, 15:43 +0800, Chairi Kiourt [email protected], 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.

YuhangSong avatar Apr 30 '20 09:04 YuhangSong

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

chairiq avatar Apr 30 '20 10:04 chairiq