编辑代码

//函数1:初始化草地
func initGame(){
group.removeAl1() //用于清空数组
for _ in 0..<rows {
group.append("0") 
}
}
}