--- title: Cookie Empire emoji: 🍪 colorFrom: yellow colorTo: red sdk: static app_file: index.html pinned: false license: mit short_description: Single-file cookie clicker with upgrades and golden cookies --- # 🍪 Cookie Empire A cookie clicker in one static HTML file — no build step, no dependencies, no backend. ## Play - **Click the cookie** (or press `Space`) to bake. - **11 buildings** (Cursor → Time Machine) earn cookies per second; each purchase makes the next one 15 % more expensive. Buy ×1 / ×10 / ×100 / Max. - **33 upgrades** unlock from what you own: per-building ×2 tiers, global production multipliers and click-power multipliers. Grandmas also quietly boost your cursors. - **Golden cookies** show up every 45–120 s and disappear after 13 s. Grab one for either a *Lucky!* lump of cookies or *Frenzy ×7* production for 7.7 s. - Progress **autosaves** to localStorage every 10 s and on exit, including offline earnings at 50 % rate (capped at 2 hours). `Save` / `Export` / `Import` (base64 codes) / `Reset` are in the footer, plus a stats tab. ## Notes Everything — markup, styles and the game loop — lives in `index.html`. The layout is deliberately stable during play: the counter has a fixed height and the animation runs inside the buttons, so the clickable boxes never shift under your cursor.