Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Created October 23, 2013 16:01
Show Gist options
  • Save nddrylliog/7121457 to your computer and use it in GitHub Desktop.
Save nddrylliog/7121457 to your computer and use it in GitHub Desktop.
Dumb automation for CookieClicker
var t = setInterval(function() { $('#bigCookie').click() }, 1);
var t2 = setInterval(function() { Game.UpgradesInStore[0].buy() }, 20);
var t3 = setInterval(function() { $p = $('.product.enabled'); if ($p) { $p.click(); } }, 200);
var t4 = setInterval(function() { $p = $('#goldenCookie'); if ($p) { $p.click() }}, 200);
@gcmalloc
Copy link

Game.cookies = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999

@gcmalloc
Copy link

But that would be cheating ;)

@bitbrain
Copy link

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment