gabrielecirulli/2048 — pull request #73 by Guiaki (2014-03-18 17:59:35+00:00)
Title: Running through console in browser

Hey, there is a lot of clones of this game over the web, I was wondering if I could use your AI code to be run in the developer console in any clone.
I've been trying to make it work directly from gabrielecirulli page but the class AI has too many dependencies.
The page "map", or "game_manager" is available, so if needed to consult the map you can have it, but I think the most difficult dependency would be to send the keys directly to the console, but for that option if the java code can implement a key signal or even send an packet over to another running program that will simulate the key it would be great.
Is it do-able?