Search results

  1. O

    JavaScript How can I make this code cleaner?

    So, I have been trying to make a cookie clicker game, however the code is very messy! <!DOCTYPE html> <html> <head><title>hey</title> <script> var Cookies = 0 var banks = 0 var temples = 0 var autoClickers = 0 var autoClickerCost = 50 var bakerCost = 500 var farmCost = 6500 var mineCost = 40000...
  2. O

    JavaScript This doesn't make any sense!

    So, I have been working on a cookie clicker game and this happened. I saved with 1+ auto-clicker and (make sure to refresh in-between) loaded the game and when I brought the next auto-clicker, the cookies per second went exponentially high. Please try this code for yourself. Any help greatly...
  3. O

    JavaScript Can this glitch be fixed?

    So, I've been trying to make a cookie clicker game, and it is all working perfectly, until I tried saving and loading. Basically, saving and loading works perfectly, but after when I click the cookie (let's say I have 8), it goes 81, 811, 8111, 81111, and when I make it so that it you get 2...
Top