data/claims/cookie-clicker.yamlCookie Clicker (web main.js v2.058, plus 2013 captures)
Game: Cookie Clicker.
One global constant, Game.priceIncrease = 1.15, multiplies a building's price for each one already owned. cookie-clicker/price-increase
About: Cookie Clicker Exponential cost scaling
Value: 1.15 × per one owned
T4 reproducedCookie Clicker web version, main.js (v2.058) ·main.js#L7972Game.priceIncrease=1.15;Building · Building Prices — cross-check; the wiki gives the same 1.15Checked by claude, 2026-10-20 — read L7972 in the pinned main.js (sha256 d530a13b…); the probe runs the store setup and prints Game.priceIncrease = 1.15Probe: probes/idle-costs/cookie-clicker.mjsCited by: Cookie Clicker, Exponential cost scaling
A building's next price is , with discounts applied before rounding. cookie-clicker/price-formula
About: Cookie Clicker Exponential cost scaling
Value
{
"shape": "exponential",
"label": "Cookie Clicker · *",
"unit": "cookies",
"each": {
"claim": "cookie-clicker/base-prices"
},
"default": "Grandma",
"base": {
"claim": "cookie-clicker/base-prices",
"key": "*"
},
"ratio": {
"claim": "cookie-clicker/price-increase"
},
"round": "ceil",
"production": {
"claim": "cookie-clicker/base-cps",
"key": "*"
},
"range": 100
}main.js#L8090-L8095var price=this.basePrice*Math.pow(Game.priceIncrease,Math.max(0,this.amount-this.free));Building · Building Prices — cross-check; the wiki adds “rounded up to the next integer”\text {Price} = \text {Base cost} \times 1.15 ^ {M-F}Checked by claude, 2026-10-20 — read getPrice at L8090-L8095 (L8093 applies Game.modifyBuildingPrice, L8094 returns Math.ceil(price)); the probe calls the game's getPrice() for n = 0..50 for all 20 buildings and matches ceil(basePrice·1.15^n) on every rowProbe: probes/idle-costs/cookie-clicker.mjsThe value is a family curve spec for the cost-curve widget: one curve per building in base-prices, each with its base price from base-prices and its production from base-cps. Single-curve views show the Grandma.
Cited by: Cookie Clicker, Exponential cost scaling
Free buildings (Starter kit: 10 Cursors; Starter kitchen: 5 Grandmas) come off the exponent, so the next one costs the base price. cookie-clicker/free-buildings
About: Cookie Clicker Exponential cost scaling
Value
{
"Cursor": 10,
"Grandma": 5
}main.js#L8266-L8275this.free+=amount;Cookie Clicker web version, main.js (v2.058) · main.js#L3828-L3829if (Game.Has('Starter kit')) Game.Objects['Cursor'].getFree(10);Checked by claude, 2026-10-20 — read getFree (L8266-L8275), getFreeRanks (L8276-L8280) and the two callers at L3828-L3829; the probe calls getFree(10) on the Cursor and gets amount 10, next price 15Probe: probes/idle-costs/cookie-clicker.mjsCited by: Cookie Clicker, Exponential cost scaling
Every building after the Cursor gets its base price from one formula on its index : , rounded to two significant figures. cookie-clicker/base-price-formula
About: Cookie Clicker Exponential cost scaling
T4 reproducedCookie Clicker web version, main.js (v2.058) ·main.js#L8024-L8031this.basePrice=(this.n*1+9+(this.n<5?0:Math.pow(this.n-5,1.75)*5))*Math.pow(10,this.n)*(Math.max(1,this.n-14));Checked by claude, 2026-10-20 — read L8024-L8031 (L8026-L8027 do the two-significant-figure rounding); the probe builds all 20 buildings with the real constructor and prints their basePriceProbe: probes/idle-costs/cookie-clicker.mjsThe result is then ×10 for ids 16 and up, ×10 again for 17 and up, ×10 again for 18 and up, and ×20 for id 19.
Cited by: Cookie Clicker, Exponential cost scaling
Only the Cursor keeps its Game.Object constructor price; the formula overwrites the rest (the Farm's 500 becomes 1,100). cookie-clicker/constructor-price-ignored
About: Cookie Clicker Exponential cost scaling
T4 reproducedCookie Clicker web version, main.js (v2.058) ·main.js#L8003-L8034if (this.n!=0)Cookie Clicker web version, main.js (v2.058) · main.js#L9104 — the Farm's definition passes 500 as its priceChecked by claude, 2026-10-20 — read L8003 (this.basePrice=price), L8012-L8013 and the overwrite at L8024; the probe prints each building's literal next to its effective basePriceProbe: probes/idle-costs/cookie-clicker.mjsCited by: Cookie Clicker, Exponential cost scaling
Base prices (the first one's price) are Cursor 15, Grandma 100, Farm 1,100, Mine 12,000, Factory 130,000, Bank 1.4 million, and so on up to You at 5.4 × 10²⁶. cookie-clicker/base-prices
About: Cookie Clicker Exponential cost scaling
Value
{
"Cursor": 15,
"Grandma": 100,
"Farm": 1100,
"Mine": 12000,
"Factory": 130000,
"Bank": 1400000,
"Temple": 20000000,
"Wizard tower": 330000000,
"Shipment": 5100000000,
"Alchemy lab": 75000000000,
"Portal": 1000000000000,
"Time machine": 14000000000000,
"Antimatter condenser": 170000000000000,
"Prism": 2100000000000000,
"Chancemaker": 26000000000000000,
"Fractal engine": 310000000000000000,
"Javascript console": 71000000000000000000,
"Idleverse": 1.2e+22,
"Cortex baker": 1.9e+24,
"You": 5.4e+26
}main.js#L8979 — the Cursor keeps its literal price, 15Cookie Clicker web version, main.js (v2.058) · main.js#L8024-L8031 — every other building's price comes from the formulaBuilding · buildings table, “Base Cost” column — cross-check; the wiki's table gives the same 20 base costsChecked by claude, 2026-10-20 — the probe constructs all 20 buildings from L8979-L9299, prints basePrice, and checks all 20 against these values (the Cortex baker's computed float, 1.9000000000000003e24, is a relative 1.4e-16 above 1.9e24)Probe: probes/idle-costs/cookie-clicker.mjsCited by: Cookie Clicker, Exponential cost scaling
Base production before upgrades is 0.1 cookies/s for the Cursor, set in its own production function, and to two significant figures for building : Grandma 1, Farm 8, Mine 47, Factory 260, and so on up to You at 5.1 × 10¹⁴. cookie-clicker/base-cps
About: Cookie Clicker Exponential cost scaling
Value
{
"Cursor": 0.1,
"Grandma": 1,
"Farm": 8,
"Mine": 47,
"Factory": 260,
"Bank": 1400,
"Temple": 7800,
"Wizard tower": 44000,
"Shipment": 260000,
"Alchemy lab": 1600000,
"Portal": 10000000,
"Time machine": 65000000,
"Antimatter condenser": 430000000,
"Prism": 2900000000,
"Chancemaker": 21000000000,
"Fractal engine": 150000000000,
"Javascript console": 1100000000000,
"Idleverse": 8300000000000,
"Cortex baker": 64000000000000,
"You": 510000000000000
}main.js#L8018-L8022this.baseCps=Math.ceil((Math.pow(this.n*1,this.n*0.5+2))*10)/10;//0.45 used to be 0.5Cookie Clicker web version, main.js (v2.058) · main.js#L9104-L9109 — the Farm's production function; with no upgrades mult stays 1return me.baseCps*mult;Cookie Clicker web version, main.js (v2.058) · main.js#L9001 — the Cursor's production functionreturn Game.ComputeCps(0.1,Cookie Clicker web version, main.js (v2.058) · main.js#L8912-L8916 — with no upgrades, mult and bonus are 0, so the Cursor makes 0.1return ((base)*(Math.pow(2,mult))+bonus);Checked by claude, 2026-10-20 — read L8018-L8022, the Farm's and the Grandma's production functions (L9104-L9109, L9046-L9083), the Cursor's (L8979-L9001) and Game.ComputeCps (L8912-L8916); the probe calls each building's own production function with nothing owned and no upgrades and matches all 20 valuesProbe: probes/idle-costs/cookie-clicker.mjsEach building's production function multiplies this base by upgrade, aura, and other effects; the Grandma's also adds bonuses before multiplying. The Cursor's baseCps field holds its function instead of a number, because the formula skips id 0.
Cited by: Cookie Clicker, Exponential cost scaling
Each type's production is amount * storedCps, summed into cookies per second, so before upgrades income grows linearly with count. cookie-clicker/cps-linear
About: Cookie Clicker Exponential cost scaling
T3 code-verifiedCookie Clicker web version, main.js (v2.058) ·main.js#L5276-L5285me.storedTotalCps=me.amount*me.storedCps;Checked by claude, 2026-10-20 — read the per-building loop in Game.CalculateGains, L5276-L5285 (L5283 adds it to Game.cookiesPs)The per-unit rate (storedCps) includes upgrades, building levels, and milk, some of which depend on other buildings' counts. The linear premise holds per building type, not for the economy as a whole.
Cited by: Cookie Clicker, Exponential cost scaling
On Grandma income alone, the wait for the next Grandma is 115 s for the 2nd, a low of 38 s for the 8th, and 36 minutes for the 51st. cookie-clicker/grandma-waits
About: Cookie Clicker Exponential cost scaling
Value
{
"second": 115,
"eighth": 38.14,
"fifty-first": 2167.32
}main.js#L8090-L8095var price=this.basePrice*Math.pow(Game.priceIncrease,Math.max(0,this.amount-this.free));Cookie Clicker web version, main.js (v2.058) · main.js#L5276-L5285me.storedTotalCps=me.amount*me.storedCps;Checked by claude, 2026-10-20 — ran the probe; it divides the game's getPrice() at n Grandmas owned by n × the Grandma's base 1 cookie/s for n = 1..50 and prints 115 s (n = 1), the minimum 38.14 s (n = 7), and 2,167 s (n = 50)Probe: probes/idle-costs/cookie-clicker.mjsThe wait is the next price over the income of the Grandmas owned, with nothing saved, no other buildings, and no upgrades. With 7 owned, the 8th costs 267 cookies at 7 cookies/s.
Cited by: Exponential cost scaling
The shown bulk price (getSumPrice) is the geometric sum , discounted and rounded up once: 20.30× the next single price for 10, and 7.83 million× for 100. cookie-clicker/sum-price
About: Cookie Clicker Bulk buying
Value
{
"buy10": 20.303718238,
"buy100": 7828749.671335
}main.js#L8096-L8105price+=this.basePrice*Math.pow(Game.priceIncrease,Math.max(0,i-this.free));The Math of Idle Games, Part I · “BONUS CONTENT!” — the same closed form, with n bought and k owned$cost = b * \frac{r^k(r^n-1)}{r-1}$Building · Building Prices — cross-check\text {Price of Buy 10} = \text {Price} \times 20.303718238Checked by claude, 2026-10-20 — read L8096-L8105; the probe calls getSumPrice(10 and 100) at 0, 10 and 50 owned and matches ceil of the closed form; (1.15^10−1)/0.15 = 20.303718238Probe: probes/idle-costs/cookie-clicker.mjsCited by: Cookie Clicker, Exponential cost scaling
Bulk options are 1, 10, and 100; “All” works only in sell mode and means 100 in buy mode. cookie-clicker/bulk-options
About: Cookie Clicker Bulk buying
Value
[ 1, 10, 100 ]
main.js#L8816-L8825if (Game.buyMode==1 && Game.buyBulk==-1) Game.buyBulk=100;Checked by claude, 2026-10-20 — read Game.storeBulkButton at L8816-L8825Cited by: Exponential cost scaling
buy() charges each unit's rounded-up price in turn and ignores the shown total: 10 Grandmas from zero cost 2,035, not 2,031, and 2,030 cookies still buy 9. cookie-clicker/buy-loop
About: Cookie Clicker Bulk buying
Value
{
"shown": 2031,
"charged": 2035,
"boughtWhenOneShort": 9
}main.js#L8125-L8152if (Game.cookies>=price)Cookie Clicker web version, main.js (v2.058) · main.js#L8898-L8901Game.ObjectsById[what].buy();Checked by claude, 2026-10-20 — read buy() (L8131-L8136: amount defaults to Game.buyBulk; each iteration takes getPrice()) and Game.ClickProduct; the probe runs buy() with buyBulk 10 and measures cookies spentProbe: probes/idle-costs/cookie-clicker.mjsCited by: Cookie Clicker, Exponential cost scaling
Each sale pays 25% of the next one's price, rounded down, about 15% more than the label: selling 1 of 10 Grandmas shows 88 and pays 101. cookie-clicker/sell-refund
About: Cookie Clicker Exponential cost scaling
Value: 0.25 of the current price
T4 reproducedCookie Clicker web version, main.js (v2.058) ·main.js#L8156-L8176price=Math.floor(price*giveBack);Cookie Clicker web version, main.js (v2.058) · main.js#L8106-L8123var giveBack=0.25;Cookie Clicker web version, main.js (v2.058) · main.js#L1620-L1628 — changelog, 01/08/2018buildings now sell back for 25% of their current price (down from 50%)Checked by claude, 2026-10-20 — read sell() (L8165-L8167 take getPrice() before this.amount-- at L8174), getReverseSumPrice (L8109 starts at amount − k) and getSellMultiplier; the probe sells 1 of 10 Grandmas: label 88, payout 101Probe: probes/idle-costs/cookie-clicker.mjsCited by: Cookie Clicker, Exponential cost scaling
Discounts from upgrades, auras, buffs, and gods multiply the price by constants such as 0.99 or 0.95, lowering the curve without changing its 1.15 slope. cookie-clicker/discounts
About: Cookie Clicker Exponential cost scaling
T3 code-verifiedCookie Clicker web version, main.js (v2.058) ·main.js#L8792-L8814if (Game.Has('Season savings')) price*=0.99;Checked by claude, 2026-10-20 — read Game.modifyBuildingPrice, L8792-L8814: every branch is price*=<constant>, including Game.eff('buildingCost') at L8805Cited by: Cookie Clicker, Exponential cost scaling
The original (13 August 2013 capture) set each new price to , compounding the rounding: the 51st Cursor cost 2,283, not the unrounded 1,761. cookie-clicker/classic-ratio
About: Cookie Clicker Exponential cost scaling
Value: 1.1 × per purchase, rounded up each time
T4 reproducedCookie Clicker (original version), Wayback capture of 13 August 2013 ·index.html#L503-L512this.price=Math.ceil(this.price*1.1);Checked by claude, 2026-10-20 — read Buyable.Buy at L503-L512 of the pinned capture (sha256 d7c60b8c…); the probe runs that function 50 times on the CursorProbe: probes/idle-costs/cookie-clicker.mjsCited by: Cookie Clicker, Exponential cost scaling
The original version's starting prices were Cursor 15, Grandma 100, Factory 500, Mine 2,000, Shipment 7,000, Alchemy lab 50,000, and Portal 1,000,000. cookie-clicker/classic-base-prices
About: Cookie Clicker Exponential cost scaling
Value
{
"Cursor": 15,
"Grandma": 100,
"Factory": 500,
"Mine": 2000,
"Shipment": 7000,
"Alchemy lab": 50000,
"Portal": 1000000
}index.html#L521-L582new Buyable('Cursor','Autoclicks every 5 seconds.','cursoricon',15,function(){Cursors++;});Checked by claude, 2026-10-20 — read the seven new Buyable(...) calls at L521, L522, L534, L546, L558, L570 and L582Cited by: Cookie Clicker
By v1.035 (captured 10 September 2013), the price was via the same Game.priceIncrease, still unrounded. cookie-clicker/v1035-ratio
About: Cookie Clicker Exponential cost scaling
Value: 1.15
T3 code-verifiedCookie Clicker main.js v1.035, Wayback capture of 10 September 2013 ·main.js#L1836Game.priceIncrease=1.15;Cookie Clicker main.js v1.035, Wayback capture of 10 September 2013 · main.js#L1871-L1876var price=this.basePrice*Math.pow(Game.priceIncrease,this.amount);Checked by claude, 2026-10-20 — read L171 (Game.version=1.035)Cited by: Cookie Clicker, Exponential cost scaling
In v1.035, Game.Object sets each building's basePrice to the literal its definition passes, such as the Farm's 500. cookie-clicker/v1035-literal-prices
About: Cookie Clicker Exponential cost scaling
T3 code-verifiedCookie Clicker main.js v1.035, Wayback capture of 10 September 2013 ·main.js#L1841-L1851this.basePrice=price;Cookie Clicker main.js v1.035, Wayback capture of 10 September 2013 · main.js#L2114 — the Farm's definition passes 500Checked by claude, 2026-10-20 — read the Game.Object constructor (L1841-L1852) and the building definitions (L2021-L2161) of the pinned capture (sha256 755bb6c7…); a search for "basePrice=" finds no other assignment to a building's price, only the Upgrade constructor (L2184) and Elder PledgeThe current version computes these from a formula instead (base-price-formula).
Cited by: Cookie Clicker
The changelog dates the launch to 8 August 2013; Orteil says he made the original “in a couple hours, for laughs”. cookie-clicker/changelog-launch
main.js#L2020-L2021made <a href="https://orteil.dashnet.org/experiments/cookie/" target="_blank">the game</a> in a couple hours, for laughsChecked by claude, 2026-10-20 — read the changelog's last entryCited by: Cookie Clicker, Exponential cost scaling
The changelog's 24 August 2013 “big update!”, which “revamped the whole game (new graphics, new game mechanics)”, falls between the 1.1 and 1.15 captures. cookie-clicker/changelog-big-update
About: Cookie Clicker Exponential cost scaling
T2 primary statementCookie Clicker web version, main.js (v2.058) ·main.js#L2014-L2015revamped the whole game (new graphics, new game mechanics)Checked by claude, 2026-10-20 — read L2014-L2017The entry doesn't mention prices. Pinning the change to this update needs a capture from 24 Aug–9 Sep 2013 (none is indexed for main.js).
Cited by: Cookie Clicker, Exponential cost scaling
The 25 August 2014 “legacy beta, part I” notes say “price and CpS curves revamped”. cookie-clicker/changelog-curves-2014
About: Cookie Clicker Exponential cost scaling
T2 primary statementCookie Clicker web version, main.js (v2.058) ·main.js#L1790-L1792price and CpS curves revampedChecked by claude, 2026-10-20 — read L1790-L1797Probably when the automated base-price formula (L8015, “new automated price and CpS curves”) arrived. Confirming that needs a 2014 capture.
Cited by: Cookie Clicker
The game's About text credits it as “a javascript game by Orteil and Opti”. cookie-clicker/developer
main.js#L1410 — %1 and %2 are links labeled Orteil and OptiCookie Clicker is a javascript game by %1 and %2.Checked by claude, 2026-10-20 — read L1410Cited by: Cookie Clicker
The changelog's 1 September 2021 entry announces the Steam release and says web and Steam will get the same updates. cookie-clicker/steam-release
main.js#L1505-L1507web version and Steam version will receive the same updates from now onChecked by claude, 2026-10-20 — read L1505-L1507Cited by: Cookie Clicker
The changelog's 28 September 2019 entry announces the official Android version, with iOS to follow. cookie-clicker/android-release
main.js#L1553-L1559also released the official Android version of Cookie ClickerChecked by claude, 2026-10-20 — read L1553-L1559Cited by: Cookie Clicker