Nothing Special   »   [go: up one dir, main page]

Skip to main content
Log in

Cookie Clicker

  • Original Paper
  • Published:
Graphs and Combinatorics Aims and scope Submit manuscript

Abstract

Cookie Clicker is a popular online incremental game where the goal of the game is to generate as many cookies as possible. In the game you start with an initial cookie generation rate, and you can use cookies as currency to purchase various items that increase your cookie generation rate. In this paper, we analyze strategies for playing Cookie Clicker optimally. While simple to state, the game gives rise to interesting analysis involving ideas from NP-hardness, approximation algorithms, and dynamic programming.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2

Similar content being viewed by others

Notes

  1. https://github.com/kaixiao/Cookie-Clicker.

  2. M must be large enough so that the effect of \(\frac{y_2}{y_1}\) not being an integer is irrelevant in the long run.

  3. In the final analysis, we compare the time needed by the optimal algorithm starting from a worse state than the greedy one, so the greedy solution actually takes less time in Phase 2.

References

  1. Demaine, E.D., Langerman, S.: Optimizing a 2D function satisfying unimodality properties. In: Proceedings of the 13th Annual European Symposium on Algorithms, volume 3669 of Lecture Notes in Computer Science, pp. 887–898. Mallorca, Spain (2005)

  2. Garey, M., Johnson, D.: Computers and Intractability; A Guide to the Theory of NP-Completeness. W. H. Freeman, New York (1979)

    MATH  Google Scholar 

  3. Wang, X.Z.J., Luh, P.B., Wang, J.: An optimization-based algorithm for job shop scheduling. Proc. SADHANA 22, 241–256 (1997)

    Article  Google Scholar 

  4. Wikipedia. Incremental game. https://en.wikipedia.org/wiki/Incremental_game. Accessed 9 Sept 2019

Download references

Acknowledgements

The authors would like to acknowledge the support of CREST, JST, Grant No. JPMJCR1402 and KAKENHI, JSPS, Grant No. 15K11985.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kai Xiao.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

http://orteil.dashnet.org/cookieclicker/.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Demaine, E.D., Ito, H., Langerman, S. et al. Cookie Clicker. Graphs and Combinatorics 36, 269–302 (2020). https://doi.org/10.1007/s00373-019-02093-4

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00373-019-02093-4

Keywords

Navigation