mode.scene={ game:{ load:function(){ var next=game.createEvent('load',false); next.content=function(){ "step 0" game.import('identity'); "step 1" ui.create.arena(); ui.auto.hide(); ui.create.cards(); game.finishCards(); game.delay(); "step 2" game.prepareGame(); "step 3" var player=_status.first||game.players[Math.floor(Math.random()*game.players.length)]; game.gameDraw(player); game.phaseLoop(player); } }, checkResult:function(){ game.over(ai.get.population('zhong')==0); }, prepareGame:function(){ var next=game.createEvent('prepareGame',false); next.content=function(){ "step 0" var dialog=ui.create.dialog(); for(var i=0;i