Created
March 30, 2014 14:15
-
-
Save bih/9873356 to your computer and use it in GitHub Desktop.
Instant win of Gabriele's 2048 game.
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
# Need a way to kill the addictiveness of the 2048 game? Paste this into yo' console. | |
# http://gabrielecirulli.github.io/2048/ | |
var t;(t=new GameManager(4,KeyboardInputManager,HTMLActuator,LocalStorageManager));t.startTiles=0;t.setup();while(t.grid.cellsAvailable()){t.grid.insertTile(new Tile(t.grid.randomAvailableCell(), 1024));};t.actuate(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment