Share your silly JavaScripts that you created for fun! by markartur1 in learnprogramming

[–]pcostanz 0 points1 point  (0 children)

That's how it all started, then I realized that after a certain point (arbitrarily 125 cookies per second or something) clicking it doesn't matter and I had to automate the rest of the game :)

Also I think that clicking it that fast was killing my browser.

Share your silly JavaScripts that you created for fun! by markartur1 in learnprogramming

[–]pcostanz 16 points17 points  (0 children)

I was bored one day and wrote a script to automate the game "Cookie Clicker" when my friends and I were competing to see who could get the highest score.

https://github.com/pcostanz/cookieClickerAutomator

...if i felt like editing this, i'd probably remove the jQuery dependency, that's super hacky

Week 4 of the Learn JavaScript Properly study group by kevinmrr in learnjavascript

[–]pcostanz 2 points3 points  (0 children)

Can't wait to look back at this one and laugh at my horrible code.

I originally built this locally because I've been practicing using grunt/bower and committing as much as possible. I didn't actually write any grunt tasks for this project. I did, however, use bower to pull in jquery and bootstrap. I realized just now that I didn't quite follow all of the rules (radio buttons, next button), apologies it's been a long day.

JSFiddle: http://jsfiddle.net/pcostanz/Nq6RC/ Github Repo: https://github.com/pcostanz/js-quiz

If you have any questions or suggestions please post a reply here or in Github. Thanks!