17

Periodically, Golden Cookies may appear, and when clicked, confer various bonuses (flat +cookies, or additional multiplier of cookie production for 77 seconds). I've noticed other people have many more Golden Cookie clicks than I do at my point in the game.

  • How often do Golden Cookies appear?
  • How long are they available for clicking before disappearing?
  • Are Golden Cookies more likely to appear if the game has been running a long time without a Golden Cookie click?
  • How is the flat +cookie bonus calculated?
  • Do the bonuses always alternate between clicks, or between appearances? (flat bonus vs percentage increase)

2 Answers 2

17

Without any upgrades or anything, a Golden Cookie spawns m minutes after the last one disappeared, where m is a random number between 5 and 15. Each of the upgrades Lucky day and Serendipity cut that time in half, and the debug upgrade Gold hoard makes them spawn pretty much constantly instead. Also, if your last cookie gave you a cookie chain, then the next one spawns 3 seconds later. This means that you are not more likely to get a Golden Cookie if you haven't clicked on one in a while.

Without any upgrades, again, a Golden Cookie lasts for 13 seconds before disappearing. The Lucky day and Serendipity upgrades both double that. If your last cookie gave you a cookie chain, then it disappears after 6 seconds instead.

When you get what appears to be a flat number of cookies, it either gives you 15% of your banked cookies or the equivalent of 20 minutes of cookie production, whichever is lower.

The bonus you get is randomly chosen each time you click the cookie. It normally chooses between Frenzy, which multiplies your production by 7, and Lucky, which gives you cookies as I just described. There is also a small chance of getting a Click frenzy, which multiplies your cookies per click by 777, and an even smaller chance of getting a Cookie chain, which gives you 6 the first time you get it, 66 the second time, etc. until you get something else. As Michael Madsen's answer points out, the effects appear to alternate because every time you click a golden cookie, there's an 80% chance that it will remove the previous effect from the list of possible effects before it picks which one actually happens.

Once the Grandmapocalypse begins, you also have a chance of getting Ruin, which makes you lose half as many cookies as you would gain from a Lucky cookie, Clot, which cuts your production in half, and Elder Frenzy, which multiplies your production by 666 for a few seconds.

6
  • 1
    Gold hoard is not a "real" upgrade BTW, it's just a cheat for debug purposes.
    – a cat
    Commented Sep 8, 2013 at 16:35
  • Huh. I thought I got it somehow in one game without cheating it in. Commented Sep 8, 2013 at 16:39
  • Notice cookie chain is 3 times more likely during grandmapocalypse.
    – Oak
    Commented Sep 8, 2013 at 17:20
  • Yeah, I wasn't very specific about that stuff because it's somewhat tangential to the question. Commented Sep 8, 2013 at 17:34
  • Cookie chain gives you 7 the first time, 77, then 777 and so on if you click on a golden cookie. It gives you 6, 66, ... if it's a wrath (red) cookie. Something else worth mentioning is the "Get Lucky" upgrade, which makes golden cookie effects last twice as long (eg: "Frenzy" lasts 154 seconds instead of 77). Commented Dec 6, 2013 at 19:15
16

murgatroid99 did an excellent job of explaining how the cookies appear, so I'm going to skip that part.

Using the source code for the current version (v.1.0375), I sat down and calculated the actual odds a bit more exactly.

When you click on a cookie, the game generates a list of possible outcomes for that cookie; certain outcomes are less likely to appear than others. Once this list is generated, each outcome on the list has an equal probability of being chosen.

The descriptions below are the normal effects; if you have the Get lucky upgrade, the time-based effects will have double duration.

For a golden cookie:

  • 100% Frenzy (7x cookies/second for 77 seconds)
  • 100% Lucky (get 13 cookies and 10% of total cookies or 20 minutes worth of production, whichever is lower)
  • 10% Click Frenzy (clicks worth 777x normal for 13 seconds)

If you have earned at least 100,000 cookies in total:

  • 1% Chain Cookie (get 6 cookies and 10 times whatever the previous cookie in the chain was worth; new cookie will spawn in 3 seconds if chain continues)

For a wrath cookie (red grandmapocalypse cookies):

  • 100% Clot (cookies/second halved for 66 seconds)
  • 100% Lucky
  • 100% Ruin (lose 13 cookies and 5% of total cookies or 10 minutes worth of production, whichever is lower)
  • 30% Chain Cookie/Elder Frenzy (666x cookies/second for 6 seconds)
  • 10% Click Frenzy
  • 0.7% Chain Cookie (actually 1%, but only if the previous 30% chance for Chain Cookie/Elder Frenzy failed)

When the grandmatriarchs are awoken/displeased/angered, 33/66/100% of cookies will be wrath cookies.

This results in these probabilities for a cookie having a specific set of possible outcomes:

Golden cookies:

  • 89.1% Frenzy/Lucky
  • 09.9% Frenzy/Lucky/Click Frenzy
  • 00.9% Frenzy/Lucky/Chain Cookie
  • 00.1% Frenzy/Lucky/Click Frenzy/Chain Cookie

Wrath cookies:

  • 62.559% Clot/Lucky/Ruin
  • 27.000% Clot/Lucky/Ruin/Chain Cookie/Elder Frenzy
  • 06.951% Clot/Lucky/Ruin/Click Frenzy
  • 03.000% Clot/Lucky/Ruin/Chain Cookie/Elder Frenzy/Click Frenzy
  • 00.441% Clot/Lucky/Ruin/Chain Cookie
  • 00.049% Clot/Lucky/Ruin/Click Frenzy/Chain Cookie

To determine the odds of a given outcome, divide each of these probabilities with the number of outcomes in that set, and add together the numbers where that option appears. Rounded to 3 decimals, that gives the following odds:

Golden cookie:

  • 48.175% Frenzy (89.1%/2 + 9.9%/3 + 0.9%/3 + 0.1%/4)
  • 48.175% Lucky
  • 03.325% Click Frenzy
  • 00.325% Chain Cookie

Wrath cookie:

  • 28.611% Clot
  • 28.611% Lucky
  • 28.611% Ruin
  • 06.020% Chain Cookie
  • 05.900% Elder Frenzy
  • 02.248% Click Frenzy

However, it's a bit more complicated in practice.

There is an 80% probability that the most recent golden cookie effect is removed from the list of possible outcomes. To determine the probabilities for a cookie given the most recent effect, you would need to adjust the probabilities for the possible sets of outcomes accordingly.

As an example, suppose that the most recent effect was Lucky, and a Golden Cookie appears; this cookie then has the following probabilities for the sets of outcomes:

  • 71.28% Frenzy
  • 17.82% Frenzy/Lucky
  • 07.92% Frenzy/Click Frenzy
  • 01.98% Frenzy/Lucky/Click Frenzy
  • 00.72% Frenzy/Chain Cookie
  • 00.18% Frenzy/Lucky/Chain Cookie
  • 00.08% Frenzy/Click Frenzy/Chain Cookie
  • 00.02% Frenzy/Lucky/Click Frenzy/Chain Cookie

which results in these odds for the individual outcomes:

  • 85.262% Frenzy
  • 09.635% Lucky
  • 04.652% Click Frenzy
  • 00.452% Chain Cookie

(Calculating the odds given another previous outcome is left as an exercise for the reader.)

3
  • This information seems very useful. However, I feel obligated to point out that none of this information was actually requested in the original question, which is why I glossed over it in my answer. It's a very nice answer, but it doesn't answer the question. Commented Sep 9, 2013 at 13:05
  • @murgatroid99: One of the bullets in the question reads "Do the bonuses always alternate between clicks, or between appearances?". The word "alternate" suggests that it never repeats, but that isn't true - they're just not very likely. Hence, the answer to this part of the question is neither - the outcome is determined randomly on clicking, but due to the 80% chance of removing the last effect, it gives the appearance of alternating because that happens most of the time. I wanted to make the implications of that effect clear, and this was the best solution I could think of. Commented Sep 9, 2013 at 16:56
  • OK, the alternation thing actually is a good point. Commented Sep 9, 2013 at 16:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.