rlcard icon indicating copy to clipboard operation
rlcard copied to clipboard

Kuhn poker implementation

Open cfytrok opened this issue 3 years ago • 1 comments

I want to implement Kuhn poker and create pull request. The documentation says that I have to inherit from classes in rlcard/core.py. However, Leduc poker is implemented by inheriting from limit poker classes. It looks like the limit poker classes are the base class for other games. I want to implement kuhn poker for an arbitrary number of players, but it seems the limit poker implementation only supports 2 players. How to do it better?

cfytrok avatar Sep 30 '20 11:09 cfytrok

@cfytrok I think both will work. We implemented Leduc poker by inheriting from limit poker classes because those pokers have similar rules. Inheriting limit poker classes saves efforts.

daochenzha avatar Sep 30 '20 15:09 daochenzha