Refactoring: manage generated static site

This commit is contained in:
ECAILLE Fabrice (externe)
2017-05-04 10:21:47 +02:00
parent 2e64cb961e
commit 3331ead68a
68 changed files with 6445 additions and 0 deletions

12
extra/js/pacman.js Normal file
View File

@@ -0,0 +1,12 @@
$(document).ready(function() {
$('#startBtn').on('click', function(event) {
for( var i = 1; i < 4; i++) {
$("#life" + i).css('opacity', '100');
$("#life" + i).show();
}
SCOREBOARD.score = Game.score = 0;
Game.level = -1;
Game.lives = 3;
Game.init();
});
});