Last active
June 6, 2016 05:46
-
-
Save teramotodaiki/2ce7640bb546f5459bace9bef403b3e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Game start | |
var __beginTime = new Date().getTime(); | |
var __dump = new Array(15).fill(0); | |
var __stopper = function (id) { | |
var elapsed = new Date().getTime() - __beginTime; | |
__dump[id] ++; | |
return elapsed < 1500; | |
}; | |
game.on('load', function () { | |
console.log(__dump.join('\n')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment