Merge branch 'master' of http://git.kingsome.cn/node/card_svr
This commit is contained in:
commit
c24bc2d6b2
@ -89,6 +89,8 @@ let gameUtil = {
|
||||
checkDiscard(cardsLst: Card[]) {
|
||||
if (cardsLst.length == 0 || cardsLst.length == 2) {
|
||||
return false
|
||||
} else if (cardsLst.length == 1) {
|
||||
return true;
|
||||
}
|
||||
let numSet: number[] = [];
|
||||
cardsLst.forEach(function (value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user