/rummy_autoGroup

印度拉米 自动组牌算法

Primary LanguageJavaScript

rummy_autoGroup

印度拉米组牌算法,算法采用穷举法,再保证规则的情况下,尽可能组合。包含小丑和王,组牌的结果理论上是最优解

raw handCards: 0x08, 0x09, 0x0d, 0x13, 0x18, 0x26, 0x27, 0x28, 0x2b, 0x2c, 0x2d, 0x37, 0x39
0x2b,0x2c,0x2d | 0x26,0x27,0x28 | 0x08,0x09,0x0d | 0x13,0x18,0x37,0x39
minScore:  27
default: 116.192ms