cookie-empire / README.md
Mike0021's picture
Cookie Empire: single-file cookie clicker
a96d6d2 verified
|
Raw History Blame Contribute Delete
1.35 kB
---
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.