Cookie Clicker Clone
Cookie Clicker clone · Idle game · built by the Vibecode team
This template rebuilds Cookie Clicker with its real name and its classic three-column look: the big cookie on blue wallpaper, a wooden bakery view in the middle and the Store on the right. Click the cookie, buy 14 buildings and 78 upgrades, and watch grandmas, farms, mines and factories fill animated pixel-art rows. Golden cookies pop up for Frenzy, Lucky! and Click frenzy, 58 achievements fill your milk, and Legacy lets you ascend for permanent prestige. The game saves in the browser and pays offline earnings when you come back, and Options has save codes plus cookie and wallpaper skins.
- Web app
- Hand-built
- Free to remix

Remix copies the working app into your account for free, exactly as we built it. It runs in your browser.
The prompt that builds it
We wrote Cookie Clicker Clone by hand. This prompt describes the finished app: paste it into a new app to build your own version, or change it first.
Prompt · 837 words
Build Cookie Clicker, the classic idle web game, as a faithful desktop-first web app with its real name and look. Click a giant cookie to bake cookies, spend them in the Store on buildings that bake for you, and watch the number climb into the billions.
SHELL: one screen in three columns under a thin dark top bar ("Cookie Clicker", version, Save, Stats, Options, "Autosave on"). Left column: blue vertical-striped wallpaper, a rounded "Toasty Pumpkin's bakery" name pill (click to rename), a dark band with the cookie count in two big lines ("10.965 / million cookies") and "per second: 24,224", the big cookie in the centre with slowly rotating white shine rays, rings of little white pixel hands (one per Cursor owned) orbiting and poking it, cookies raining in the background as CpS grows, a wavy milk layer at the bottom and "v. 2.058" bottom-left. Middle column in a wooden frame: plank buttons Options and Stats (left), Info and Legacy (right), a news ticker in the centre that changes every 9 seconds, a buff strip ("Frenzy x7 · 1 minute, 13 seconds"), then one animated pixel-art scene row per building you own (grandmas on pink wallpaper and a wood floor, farms with cookie shrubs under a blue sky, mines in brown rock, factories under an orange sky with smoke, banks with marble columns and red carpet, a golden temple in the desert, wizard towers at night, rockets flying past a cookie planet...) separated by wooden beams. Right column: "Store" header, a 5-wide grid of upgrade tiles (dark frames, gold glow when affordable, expands on hover), "Buildings" label, Buy/Sell and 1/10/100 toggles, then the building list on a grey stone texture: pixel icon, big serif name with a dark outline, price with a tiny cookie (green if affordable, red if not), owned count huge and faded on the right; undiscovered buildings show a black silhouette and "???".
MECHANICS: 14 buildings (Cursor 15, Grandma 100, Farm 1,100, Mine 12,000, Factory 130,000, Bank 1.4M, Temple 20M, Wizard tower 330M, Shipment 5.1B, Alchemy lab 75B, Portal 1T, Time machine 14T, Antimatter condenser 170T, Prism 2.1Q) with CpS 0.1 / 1 / 8 / 47 / 260 / 1,400 / 7,800 ... and price x1.15 each; selling refunds 25%. 78 upgrades: four doubling tiers per building (unlock at 1/5/25/50 owned), flavour cookies (+1% to +10% CpS), mice (clicks gain 1% of CpS), kittens (CpS grows with milk), Many-handed method (cursors and clicks +0.1 per non-cursor building), Lucky day. Golden cookies appear every 1-3 minutes anywhere on screen for 13 seconds: Frenzy (x7 CpS for 77 s), Lucky! (+15% of the bank, capped at 15 minutes of CpS) or Click frenzy (x777 clicks for 13 s), with big pop text where you clicked. 58 achievements (cookies baked, CpS, clicking, owning 1 and 50 of each building, golden cookies, ascending) each give 4% milk; bottom-centre "Achievement unlocked" notifications stack with "+N more notifications." Numbers format like the game: 586,352 then "5.003 billion" (option for short "5.003 B"). Legacy menu: ascend once you've baked a trillion cookies for prestige levels (cube-root curve) worth +1% CpS each forever; keeps achievements.
SCREENS: hover tooltips (black box, thin gold border: icon, name, "owned: N", price, italic quote, "each farm produces 35.3 cookies per second", "15 farms producing 528.8 cookies per second (2.2% of total CpS)", "cookies baked so far"). Stats menu (General numbers, Special, Upgrades unlocked grid, Achievements grid with locked ones dark, milk %). Options (Save, Export/Import save code, Wipe save, toggles for particles, numbers, milk, short numbers; cookie skins Chocolate chip / Double chocolate / Pink sugar / Matcha; wallpapers Classic blue / Midnight / Strawberry / Mint). Info (how to play, version history). Legacy (prestige level, progress bar to the next level, Ascend with confirm).
SAVING: autosave to localStorage every minute and when the tab closes; on return pay offline earnings at 50% of CpS (capped at 24 h) with a "Welcome back! You were away for 12 minutes..." notification. The first visit opens on a demo bakery already in progress (32 cursors, 24 grandmas, 15 farms, 10 mines, 6 factories, 3 banks, 1 temple, 17 upgrades), with dates relative to now.
LOOK: Merriweather 900 for every title and number with black text shadows, Tahoma for body text; blues #1f5582/#2b6a9c/#163f66, wood #7a4a24/#8d5a30, stone #c2b8a6, price green #6f6 / red #f66, gold #ffcc2f. All art drawn in code on canvas (painted cookie with chunks and cracks, pixel hands, 32x32 pixel building sprites, scene backgrounds, upgrade and achievement icons, golden cookie) - no image files.
RULES: everything works, nothing is a mockup; clicks bounce the cookie and float "+498.4" numbers with crumbs; buying flashes the row and adds sprites to its scene; ?demo=1 runs an attract-mode bot with a visible pointer that clicks, buys buildings and upgrades and catches a golden cookie; mobile stacks cookie, store, bakery.
REMIX-READY: brand/theme.ts (name, words, colours, skins, RULES balance), game/data (buildings, upgrades, achievements, news, fixtures), a DOM-free engine (engine, golden, save, loop), art painters, small components, README with how to rename/recolour/rebalance.More templates
All templates- View template

Super Mario Bros. Clone
WebRun, stomp and bump ? blocks across four worlds, then slide down the flagpole. NES pixels, all in code.
- View template

Vampire Survivors Clone
WebJust move: your whip, wands and axes fire themselves at 500 monsters. Level up, open chests, evolve weapons.
- View template

Grand Theft Auto Clone
WebSteal a muscle car, outrun the cops to the Respray and hear MISSION PASSED in a sunny 3D open city.
- View template

Trivia Crack Clone
iOSSpin the rainbow wheel, beat the 30-second clock, win all six characters, then keep your daily streak alive




