Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
GamesNovember 22, 20265 min read

How to make a game like Cookie Clicker

An incremental game is a spreadsheet that the player gets to watch grow. The math is short; the pacing is everything.

Startbase Team
Editorial ink illustration of a copper teakettle beside a growing stack of coins and tiny teacups, the steam curl in ember orange

Key takeaways

  • Each generator’s cost grows by a fixed multiplier per purchase (around 1.07 to 1.15), while its output grows linearly. That gap is the whole pacing engine.
  • Plan the next purchase to be 30 seconds to a few minutes away at every stage; when waits grow past that, add an upgrade or a reset.
  • Prestige resets progress for a permanent multiplier and is what keeps an incremental game going for weeks.

Cookie Clicker is the best-known example of the incremental (or idle clicker) genre: you tap one big object to earn a currency, spend it on generators that earn automatically, buy upgrades that multiply output, and eventually reset everything for a permanent bonus that makes the next climb faster. Making a game like it is mostly math and pacing, plus number formatting for values far larger than a phone’s calculator. The Cookie Clicker name, its cookie, its buildings, art and writing belong to its owner. The genre is wide open, and the best new incremental games change what you are growing and why.

Why incremental games are hard to put down

  • There is always a next purchase in sight. The goal is never more than a minute or two away, and buying it makes the next one closer.
  • Numbers that explode. Going from hundreds to millions to numbers with names most people never heard of is a pleasure on its own.
  • It plays itself. Closing the game is not quitting; coming back to a pile of earnings is a reward.
  • Resets feel like progress, because each run is noticeably faster than the last.

The core math

Each generator has a base cost, a base output per second, and a cost multiplier. Starting formulas:

  • Cost of the next one = base cost × multiplier^owned. A multiplier of 1.15 is a common choice in the genre; lower values (1.07 to 1.10) make buying in bulk feel better.
  • Output = base output × owned × upgrade multipliers. Linear in count, so costs always outrun output, which is what slows each generator down over time.
  • Tiers: each new generator type costs roughly 8 to 12 times the previous one and produces roughly 5 to 8 times as much. The newest tier is always the most efficient to buy, which pulls players forward.
  • Tap value: starts at 1, grows with upgrades, and often becomes a percentage of passive income later so tapping never becomes pointless.

The buy screen should show cost, output and how many seconds of current income each purchase costs. Add buy 1, buy 10 and buy max buttons; the sum of a geometric series gives the bulk price in one formula, no loop needed. The idle clicker game guide has a worked example of the bulk formula.

Pacing: the part that takes time

Write the math in a spreadsheet before you build: list each tier’s cost and output, simulate a player who always buys the cheapest efficient option, and graph how long each purchase takes. You are looking for a wait that grows slowly and then hits a wall, right where you place a big upgrade or the first reset.

  • First 5 minutes: something new every 10 to 30 seconds. Four or five generator tiers revealed.
  • First hour: purchases every minute or two; upgrades that double a generator’s output appear when its count reaches milestones (10, 25, 50, 100).
  • First reset: somewhere between one and three hours in, when waits stretch past several minutes.

The upgrades and progression guide and the score multipliers guide both help with stacking multipliers without breaking the curve.

Bonus events and prestige

Bonus events keep active players attentive: a shimmering object appears somewhere on screen every few minutes and, if tapped within about 10 seconds, gives a burst (a lump of income, or a few seconds of multiplied output). Keep them occasional and visually distinct.

Prestige resets generators and currency in exchange for a permanent currency based on total lifetime earnings. A common shape is prestige points = floor(√(lifetime earnings ÷ a big constant)), each worth a few percent of extra production forever. The square root matters: doubling earnings gives about 1.4 times the points, so later resets need much longer runs, which is the right feeling. Let players spend prestige points on a small tree of permanent perks for an extra layer of choice.

Saves, offline earnings and huge numbers

  • Save often: every 30 seconds and when the tab is hidden. Store counts, currency, upgrades, prestige and a timestamp. The saving game progress guide covers versioning save files so updates do not wipe players.
  • Offline earnings: on load, compute seconds since the last save, multiply by income at a reduced rate (say 50%), and cap it (8 to 12 hours). Show a welcome-back card with the amount.
  • Numbers beyond normal limits: regular JavaScript numbers lose precision around 9 quadrillion and overflow near 10^308. Incremental games pass those quickly. Use a big-number library that stores a mantissa and exponent, from day one.
  • Formatting: 1.23K, 4.56M, 7.89B, then named suffixes or scientific notation (1.23e45) with a setting to switch.
  • Ticks: update income 10 to 20 times a second for smooth counters, but compute production from elapsed time, not by counting ticks, so a throttled background tab still earns correctly.

Three twists that make it yours

  1. 01A board, not a list. Generators are placed on a small grid and boost their neighbors. Rearranging the board becomes the active part of an idle game.
  2. 02Prestige changes the rules. Each reset picks a new modifier (generators cost less but upgrades cost more, or tapping is ten times stronger but offline earnings stop). Runs feel distinct.
  3. 03A story told through milestones. Each new tier unlocks a few lines of a strange, escalating story. Players buy the next tier partly to find out what happens.

A brief for an original incremental game

An incremental idle game called Steep, for phones and desktop. Tap a big copper teakettle to brew cups of tea (1 cup per tap to start). Spend cups on generators that brew automatically, in tiers: a tea cart, a corner tea house, a hillside garden, a riverboat tea salon, a mountain monastery, a cloud plantation, each costing about 10 times the last with cost growing 1.12 times per purchase and output growing linearly. Upgrades double a generator’s output at 10, 25, 50 and 100 owned. Show cost, output and seconds of income for every purchase, with buy 1, buy 10 and buy max. Every 3 to 5 minutes a floating sugar cube appears for 10 seconds; tapping it gives 15 seconds of triple brewing. Twist: generators sit on a 4 by 4 courtyard grid, and each one boosts adjacent generators of a different type by 10%, so arranging the courtyard matters. Prestige: retire to a new town for tea leaves, equal to the square root of lifetime cups divided by one billion, each giving +2% production forever. Save every 30 seconds and on tab hide; offline earnings at 50%, capped at 10 hours, shown on a welcome-back card. Use a big-number library and short suffixes, with a scientific notation setting.

For another original take, the idle space miner prompt builds the genre around mining asteroids.

Frequently asked questions

What cost formula do clicker games use?

Most use exponential cost growth: next cost = base cost × multiplier to the power of the number owned, with the multiplier commonly between 1.07 and 1.15. Output grows linearly, so each generator slows down over time.

How do I handle huge numbers in an idle game?

Standard JavaScript numbers lose precision past about 9 quadrillion and overflow near 10^308. Use a big-number library that stores a mantissa and exponent, and format values with suffixes or scientific notation.

How should offline progress work?

Save a timestamp, and on return multiply the elapsed time by income at a reduced rate, capped at several hours. Show the amount on a welcome-back screen.

Can I make a cookie-themed clicker?

Avoid copying the original’s name, art, buildings or writing, which belong to its owner. A different theme and at least one new mechanic make your game clearly your own and more interesting.

On this page

  • Why incremental games are hard to put down
  • The core math
  • Pacing: the part that takes time
  • Bonus events and prestige
  • Saves, offline earnings and huge numbers
  • Three twists that make it yours
  • A brief for an original incremental game

Keep reading

More in Games
Editorial ink illustration of a wooden toy figure jumping between two stone ledges, the coin above the gap in ember orange
GamesNovember 22, 2026

How to Make a Platformer Game with AI

A platformer lives or dies on its jump. Here are the numbers behind a jump that feels fair, how to build levels around it, and how to get an AI agent to build both.

7 min read
Editorial ink illustration of a tin wind-up runner on track pieces laid down ahead of it, the next track piece in ember orange
GamesNovember 22, 2026

How to Make an Endless Runner Game

An endless runner is a level generator with a character on top. Get the chunks, the speed curve and the controls right and the rest is art.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.