3 ms·
For those "playing" in the javascript console, here's one way to get a handle on the (inaccessibly scoped) game objects: GameManager.prototype.__actuate =
by throwaway_yy2Di 13y ago
For those "playing" in the javascript console, here's one way to get a handle on the (inaccessibly scoped) game objects:
GameManager.prototype.__actuate =
GameManager.prototype.actuate;
GameManager.prototype.actuate = function() {
window.gm = this;
this.__actuate();
}
On the next move, the game object will exfiltrate itself into the global window namespace.
gm.grid.eachCell(function(x,y,_) {
gm.grid.cells[x][y] = new Tile({x:x, y:y}, 1024);
});
gm.actuate();
- terabytest 13y agoHeh, nice trick! The only way to get high score is to actually play, though :P
- thronoprocrast 13y agoNot quite: http://i.imgur.com/Zr8piE7.png http://i.imgur.com/Zr8piE7.png Set it to a 6x6 grid.
- thronoprocrast 13y agoHey Steven, you should include the actual clickable URL. Noob