Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Dou Dizhu game state #281

Open
HJia42 opened this issue Apr 18, 2023 · 1 comment
Open

About Dou Dizhu game state #281

HJia42 opened this issue Apr 18, 2023 · 1 comment

Comments

@HJia42
Copy link

HJia42 commented Apr 18, 2023

Hi I was reading up the RLCard page about Dou Dizhu and it mentioned an action state of 27472 or just 309 by combining reduncencies. I was wondering where self.state_shape = [[790], [901], [901]] came from?

@daochenzha
Copy link
Member

@HJia42 790, 901, 901 are the state shapes, which means the landlord has 790 features, and the other two players have 901, 901 features. These features are the result of concatenating many card planes.

For example, for the landlord, the features are defined here https://github.com/datamllab/rlcard/blob/master/rlcard/envs/doudizhu.py#L50-L57

In total, there are 790 features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants