公司的麻将项目上有双鬼牌(8张)的玩法,采用N重for循环去检查胡牌显然复杂度太高,因此自己写了一个凑鬼牌的方法来解决多个鬼牌的胡牌问题 测试用例在main函数中,其中(1-9)代表1万到9万 (11-19)代表1条到9条 (21-29)代表1筒到9筒(31-37)代表东南西北中发白
HazySunshine/mahjong
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
公司的麻将项目上有双鬼牌(8张)的玩法,采用N重for循环去检查胡牌显然复杂度太高,因此自己写了一个凑鬼牌的方法来解决多个鬼牌的胡牌问题
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published