目录结构调整

This commit is contained in:
2026-02-04 23:47:45 +08:00
parent 6938c911c3
commit 6b22238c6e
8780 changed files with 15333 additions and 574 deletions

View File

@@ -0,0 +1,36 @@
Game = function(){//构造方法
this.score = 0;//当前游戏积分
this.mode = -1;
//this.highscore = 0;
}
if(typeof(Game.prototype.newgame) == "undefined"){
Game.prototype.newgame = function(mode){//获得方格
switch(mode){
case 0:
this.mode = mode;
utlnewgame(mode);
g_player.entergame(0);
break;
}
};
}
Game.prototype.leavegame = function(mode){
switch(mode){
case 0:
this.mode = mode;
utlnewgame(mode);
g_player.entergame(0);
break;
}
};