Gym: How to support Texas hold'em

Created on 4 Jan 2018  路  5Comments  路  Source: openai/gym

I want to do some research in playing Texas hold'em, how can I use gym?

Most helpful comment

@SmartAI fyi I threw something together that demonstrates how a Texas Hold'em gym environment can be done, this is just one of many possibilities

All 5 comments

@SmartAI Create a game engine that emulates Texas Hold'em, extend the gym.Env class and maintain the standard gym environment API. It may sound simple at first but multi-agent environments are _non-trivial_ to implement and standardize. You may notice that there is a sparsity of such cases, but as a work around you can encode the multi- state- and action- space as spaces.Tuple of states/actions corresponding to players.

Good luck!

@SmartAI fyi I threw something together that demonstrates how a Texas Hold'em gym environment can be done, this is just one of many possibilities

@wenkesj Thanks for your suggestion.

Thanks for answering this @wenkesj!

Put an implementation together here:
https://github.com/dickreuter/neuron_poker

It also demonstrates some implementations with reinforcement learning.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mdavis-xyz picture mdavis-xyz  路  3Comments

Ettrig picture Ettrig  路  3Comments

reaIws picture reaIws  路  4Comments

Kallin picture Kallin  路  4Comments

pickittwice picture pickittwice  路  4Comments