This game blew up on /v/ a few weeks ago, and I've avoided because I knew it was some dark magic I didn't need to get involved with.
And now here we are. Few minutes in and I'm at 100cps and rapidly growing. I was responsible for the infection that was SaltyBet, but good lord am I glad I cannot be held responsible for cookies.
This game blew up on /v/ a few weeks ago, and I've avoided because I knew it was some dark magic I didn't need to get involved with.
And now here we are. Few minutes in and I'm at 100cps and rapidly growing. I was responsible for the infection that was SaltyBet, but good lord am I glad I cannot be held responsible for cookies.
End-Game Toward the end of the game (50+ time machines), time machines yeild a large percentage of cookies gained. As of the 1.021 update, getting to 100 time machines, however, would take on the order of 150 days. Getting to 150 time machines would take on the order of 300 years.
Sooo many cookies! Is it cheating to leave this running on a folding machine? +45M/s with 60 portals and 39 time machines. I'm reaching the point where any new purchases will take more than 24 hours to pay for themselves.
@d3k0y I took a quick look at the pricing for cursors and found it to be something like 13e^(0.14x), is that the equation you were looking for? I'd expect all others to look similar, but haven't looked yet.
I haven't quite got the calculations down for the cursors since I am not sure what my actual CPS is minus the cursors since those aren't counted in the +1% Total CPS per cursor.
The equation I was talking about is when you buy a new building the price increases by a flat increasing %. I can't figure out if it is coded to take algebraically, or simply variable increase.
That is to say I know this equation works: Current Cost + 15% = Next Building Cost But for this to work it would have to be resaving the cost variable every single time a building was bought. If for some reason the code got confused it would either break all together OR the program would have to start the count over again, which is sloppy inefficient. I have tested this up to 20 of each of the first five building types so I know this holds true.
It would make for more efficient code if the developer did a flat exponentially increasing equation (fake number inc) such as: Base Cost + (Number of Units * Magic number) = Next Building Cost This would allow of the code to simply go "How many does he have right now? Multiple that by this, next cost is this". So the only thing that even needs to be ran and updated is the number of units. It allows for faster response, and less prone to calculation errors and possible lag interference. I have a feeling it is done this way because even with buying units at my 25x per second click rate lag never seemed to upset the cost calculations. I however am not able to figure out what this magic number is currently, and/or the proper equation to make this work.
And I am not excel savvy enough to extrapolate out base costs to the 100-200th degree and make it look pretty enough for me to not rip my eye out, so I can't even just do the first one that I know works. I am not a math wiz by any mean I just know how to fiddle a bit with numbers so if anyone have advice on the topic please let me know, learning is fun (for realzies)
So I found this in the code: var price=this.basePrice*Math.pow(Game.priceIncrease,this.amount);
where Game.priceIncrease is fixed to 1.15 and this.basePrice is the amount that each item costs at the beginning of the game. this.amount is how many items you currently have (0 at game start). This does indeed confirm your 15% number for price increase at each level. It only needs to keep track of your current state this way.
What I didn't realize is that when you sell an item, you only get back half of what it's worth.
I also found the load/save function (leading to 1.0e^21 cookies).
Every time I click my Cookie I make 7,526,010.6 Cookies
During a Frenzy I get more than 1.3 Billion+ cps and 50 million+ per click, I make over 110 Billion easy in 77 seconds
I've clicked 180 Golden Cookies
I have 70/75 achievements* the ones I do not have: 200 Cursors (174) 100 Portals (94) 100 Time Machines (60) 2 about grandmatriarchs*
That makes my Milk 276% (raspberry juice)
I've paid attention to this game since about 8pm yesterday. Can't say I "played" all day as I just had it off to the side and clicked when a Golden Cookie came up. After tonight I should be able to buy the remaining amount of buildings to satisfy the remaining achievements and unlock and purchase the last few upgrades.
* I've yet to start the Grandmapocalypse because the game will not allow me to buy the One Mind upgrade. I believe this is due to the upgrade that was released (1.033) part of the way into my game that added the 76th achievement. This is holding me back from 5 upgrades and 2 achievements. Once I get as far as I can without it, I am going to upgrade to start Grandmapocalypse and finish up the game.
The game has been open in a single browser window this entire span of time. No scripts or macros were used in the creation of my cookies. I've made more than 1.2 Trillion cookies by hand.
I had to redo the numbers in this post 5 times while typing it out due to Golden Cookies and purchasing more Time Machines when available.
But.. But.. You can't EAT them? What's the point then? It's like slowly pulling out your fingernails. 187 billion cookies per second, and not a single one to eat.
2
KwitkoSheriff of Banning (Retired)By the thing near the stuffIcrontian
Comments
I woke up to 186 Billion cookies.
Cool to see that the game can handle everything we are throwing at it.
Edit: After spending the night's gain in cookies, 21mil+ CPS. Upgrades have shown up with 10 trillion cost.
Giggity.
^^
That's a lot of love you're trying to deny.
And now here we are. Few minutes in and I'm at 100cps and rapidly growing. I was responsible for the infection that was SaltyBet, but good lord am I glad I cannot be held responsible for cookies.
Also, when I buy a new Cursor, the game no longer hangs for a few seconds. Yup, I'd say they updated something.
20mil per second no clicks.
+45M/s with 60 portals and 39 time machines. I'm reaching the point where any new purchases will take more than 24 hours to pay for themselves.
@d3k0y I took a quick look at the pricing for cursors and found it to be something like 13e^(0.14x), is that the equation you were looking for? I'd expect all others to look similar, but haven't looked yet.
The equation I was talking about is when you buy a new building the price increases by a flat increasing %. I can't figure out if it is coded to take algebraically, or simply variable increase.
That is to say I know this equation works:
Current Cost + 15% = Next Building Cost
But for this to work it would have to be resaving the cost variable every single time a building was bought. If for some reason the code got confused it would either break all together OR the program would have to start the count over again, which is sloppy inefficient. I have tested this up to 20 of each of the first five building types so I know this holds true.
It would make for more efficient code if the developer did a flat exponentially increasing equation (fake number inc) such as:
Base Cost + (Number of Units * Magic number) = Next Building Cost
This would allow of the code to simply go "How many does he have right now? Multiple that by this, next cost is this". So the only thing that even needs to be ran and updated is the number of units. It allows for faster response, and less prone to calculation errors and possible lag interference. I have a feeling it is done this way because even with buying units at my 25x per second click rate lag never seemed to upset the cost calculations. I however am not able to figure out what this magic number is currently, and/or the proper equation to make this work.
And I am not excel savvy enough to extrapolate out base costs to the 100-200th degree and make it look pretty enough for me to not rip my eye out, so I can't even just do the first one that I know works. I am not a math wiz by any mean I just know how to fiddle a bit with numbers so if anyone have advice on the topic please let me know, learning is fun (for realzies)
var price=this.basePrice*Math.pow(Game.priceIncrease,this.amount);
where
Game.priceIncrease
is fixed to 1.15 andthis.basePrice
is the amount that each item costs at the beginning of the game.this.amount
is how many items you currently have (0 at game start). This does indeed confirm your 15% number for price increase at each level. It only needs to keep track of your current state this way.What I didn't realize is that when you sell an item, you only get back half of what it's worth.
I also found the load/save function (leading to 1.0e^21 cookies).
*For the next half hour until I go to sleep
I currently make 187,512,734.1 cps
Every time I click my Cookie I make 7,526,010.6 Cookies
During a Frenzy I get more than 1.3 Billion+ cps and 50 million+ per click, I make over 110 Billion easy in 77 seconds
I've clicked 180 Golden Cookies
I have 70/75 achievements*
the ones I do not have:
200 Cursors (174)
100 Portals (94)
100 Time Machines (60)
2 about grandmatriarchs*
That makes my Milk 276% (raspberry juice)
I've paid attention to this game since about 8pm yesterday. Can't say I "played" all day as I just had it off to the side and clicked when a Golden Cookie came up. After tonight I should be able to buy the remaining amount of buildings to satisfy the remaining achievements and unlock and purchase the last few upgrades.
* I've yet to start the Grandmapocalypse because the game will not allow me to buy the One Mind upgrade. I believe this is due to the upgrade that was released (1.033) part of the way into my game that added the 76th achievement. This is holding me back from 5 upgrades and 2 achievements. Once I get as far as I can without it, I am going to upgrade to start Grandmapocalypse and finish up the game.
The game has been open in a single browser window this entire span of time. No scripts or macros were used in the creation of my cookies. I've made more than 1.2 Trillion cookies by hand.
I had to redo the numbers in this post 5 times while typing it out due to Golden Cookies and purchasing more Time Machines when available.
How are your cookies going @Teramona ?