编辑代码

游戏是否结束标记
var GameOver = false
游戏开始时间戳
var beginTimestamp:Int=01游戏限定时间,单位:秒
let GamePeriod = 20
//游戏本次花费时间,单位:秒
var TimeCost =0