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

斗地主的分牌思路 是否有问题 #61

Open
defddr opened this issue Aug 13, 2020 · 1 comment
Open

斗地主的分牌思路 是否有问题 #61

defddr opened this issue Aug 13, 2020 · 1 comment

Comments

@defddr
Copy link

defddr commented Aug 13, 2020

看到 doc文件夹下的分牌文档

代码路径:https://github.com/yuanfengyun/qipai/blob/master/pdk_lib/logic.lua

思路:根据扑克相同的牌的最大张数,分类进行讨论

1、1张,必做是单张或顺子

2、2张,必然是对子或连对或王炸

3、3张,3个不带,3带1,3带2,3个不带飞机,3带1飞机,3带2飞机

4、4张,炸弹,炸带2单张,炸带2对

我觉得两张也可能分成两个顺子 对吧?
比如 34567 678910

@yuanfengyun
Copy link
Owner

yuanfengyun commented Aug 13, 2020 via email

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