Comment by throwaway_yy2Di
11 years 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();
Heh, nice trick! The only way to get high score is to actually play, though :P
Not quite: http://i.imgur.com/Zr8piE7.png
Set it to a 6x6 grid.
Hey Steven, you should include the actual clickable URL. Noob