func (player_ *Player) findShunZi() {
var begin int
var xgg int
for i := 0; i < len(player_.HoldCard); i++ {
if player_.HoldCard[i] > 0 && begin == 0 {
begin = i
} else if player_.HoldCard[i] == 0 && i != 12 {
if (i - begin) > 5 {
xgg = 0
break
}
}
}
}
编译的是总是 提示 “ xgg declared and not used”
更多评论