datamllab / rlcard

Reinforcement Learning / AI Bots in Card (Poker) Games - Blackjack, Leduc, Texas, DouDizhu, Mahjong, UNO.
http://www.rlcard.org
MIT License
2.87k stars 619 forks source link

Question about doudizhu action space. #300

Open zizhang-qiu opened 1 year ago

zizhang-qiu commented 1 year ago

Hi, I'm reading your document and find a conflict of Plane with Solo and Quad with Solo. In wikipedia, these 2 categories should have kickers different from each other.

Two consecutive trios with each carries a distinct individual card as the kicker

Four-of-a-kind with two distinct individual cards as the kicker

But in your file action_state.txt, the combinations like "33344455" and "333344" are also counted. I'm not sure if the number 27472 is correct.

daochenzha commented 1 year ago

@87a This is a good question. What you stated is a very detailed rule of DouDizhu. From my experience, most online DouDizhu platform actually allows "33344455" and "333344". I think it makes to either count them or not when calculating the size of the action space.