updated 注释及分享按键调整

This commit is contained in:
mumuy 2022-03-04 14:07:30 +08:00
parent 3a234f4f1b
commit 4ba10c5650
3 changed files with 20 additions and 2 deletions

View File

@ -1,4 +1,13 @@
'use strict'; 'use strict';
/*!
* Pacman - HTML5 Game
* https://passer-by.com/pacman/
*
* Copyright (c) 2016-present, HaoLe Zheng
* Released under the MIT License.
* https://github.com/mumuy/pacman/blob/master/LICENSE
*/
/* /*
* 小型游戏引擎 * 小型游戏引擎
*/ */

View File

@ -47,7 +47,7 @@
<p>如果你对此感兴趣可以在Github上关注此项目。我希望能通过游戏和代码与你分享一些我对游戏开发的感悟。</p> <p>如果你对此感兴趣可以在Github上关注此项目。我希望能通过游戏和代码与你分享一些我对游戏开发的感悟。</p>
<div class="mod-botton"> <div class="mod-botton">
<a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a> <a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a>
<a class="github-button" href="https://github.com/mumuy/pacman" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/relationship on GitHub">Star</a> <a class="github-button" href="https://github.com/mumuy/pacman" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/pacman on GitHub">Star</a>
</div> </div>
</div> </div>
<script src="game.js"></script> <script src="game.js"></script>

View File

@ -1,3 +1,12 @@
/*!
* Pacman - HTML5 Game
* https://passer-by.com/pacman/
*
* Copyright (c) 2016-present, HaoLe Zheng
* Released under the MIT License.
* https://github.com/mumuy/pacman/blob/master/LICENSE
*/
//主程序,业务逻辑 //主程序,业务逻辑
(function(){ (function(){
var _COIGIG = [ //关卡 var _COIGIG = [ //关卡
@ -1039,4 +1048,4 @@
}); });
})(); })();
game.init(); game.init();
})(); })();