修正检查能否出顺子的bug
This commit is contained in:
parent
15534cdd70
commit
2576e0183e
@ -90,7 +90,7 @@ function seekSeq(pointMap: Map<number, Card[]>, points: number[], special?: Card
|
|||||||
}
|
}
|
||||||
// 将获取到的点数sequence转换为Card数组
|
// 将获取到的点数sequence转换为Card数组
|
||||||
let result: Card[] = []
|
let result: Card[] = []
|
||||||
if (tmp.length > minLength) {
|
if (tmp.length >= minLength) {
|
||||||
for (let point of tmp) {
|
for (let point of tmp) {
|
||||||
if (!!special && point === special.number) {
|
if (!!special && point === special.number) {
|
||||||
result.push(special)
|
result.push(special)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user