frosso / 2048_cheater

Autoplayer for the 2048 Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2048_cheater

Autoplayer for the 2048 Game.

I made this because I was tired of starting a new game from the begin every time. So instead, I let this one play until I get to (say) a 512 tile, then I pause. This autoplayer just does a series of left, down, right, down movements and with a 1% chance it 'glitches', going up.

How to use it

Open your browser's console (CTRL+SHIFT+K) and paste this to download jQuery

var jq = document.createElement("script");
jq.type = "text/javascript";
jq.src = "http://code.jquery.com/jquery-1.11.0.min.js";
var head_element = document.getElementsByTagName('HEAD').item(0);
head_element.appendChild(jq);

Then paste this to download and execute the autoplayer:

var autoplayer = document.createElement("script");
autoplayer.type = "text/javascript";
autoplayer.src = "https://raw.github.com/frosso/2048_cheater/master/main.js";
var head_element = document.getElementsByTagName('HEAD').item(0);
head_element.appendChild(autoplayer);

You can start/stop the autoplayer by hitting the P key on your keyboard.

More features coming soon!

Compatibility

Only Firefox Browser

About

Autoplayer for the 2048 Game


Languages

Language:JavaScript 100.0%