[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-761413-105":59,"doc-detail-761413-en":130,"doc-similar-761413":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","cookie-clicker-1-abstract-and-optimal-strategies-analysis","Cookie Clicker 1 - Abstract and Optimal Strategies Analysis","","Cookie Clicker 1 is an online incremental game where players aim to maximize cookie production. Starting from an initial cookie generation rate, cookies serve as currency to buy items that permanently increase the rate, while item costs grow exponentially. This paper studies optimal play through algorithmic methods, showing connections to NP-hardness, approximation algorithms, and dynamic programming, and develops results under multiple objective formulations and end conditions.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/cookie-clicker-1-abstract-and-optimal-strategies-analysis/761413/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/cookie-clicker-1-abstract-and-optimal-strategies-analysis/761413.png","ImageObject",300,407,{"name":92,"@type":93},"BAd apple","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-30","2026-11-29",true,{"@type":102,"interactionType":103,"userInteractionCount":8},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the main goal in Cookie Clicker 1?","Question",{"text":112,"@type":113},"The goal is to generate as many cookies as possible. Players improve production by purchasing items that increase the cookie generation rate over time.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the paper model cookie generation and item purchasing?",{"text":117,"@type":113},"The paper models clicking as a fixed initial generation rate, then uses item tuples to describe how purchases increase the rate and how costs grow multiplicatively after each buy.",{"name":119,"@type":110,"acceptedAnswer":120},"What types of objectives and end conditions are analyzed?",{"text":121,"@type":113},"Two primary objectives are studied: reaching a target number of cookies (M version) and reaching a target cookie generation rate (R rate-goal version). The paper also considers related variants like fixed-cost and discrete timesteps.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},761413,1795985160,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":41,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},19241458193282,"https://us-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Cookie Clicker  \nErik D. Demaine􀀃 Hiro Itoy Stefan Langermanz Jayson Lynch􀀃  \nMikhail Rudoyx Kai Xiao􀀃  \nAbstract  \nCookie Clicker 1 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.  \nContents  \n1 Introduction 3  \n1.1 Models ............................................ 3  \n1.2 Results ............................................ 4  \n1.3 Useful Tools ......................................... 4  \n2 Positive Results 8  \n2.1 1-Item Cookie Clicker Solution .............................. 8  \n2.2 Fixed-Cost Cookie Clicker for 2 Items .......................... 9  \n2.3 Fixed-Cost Cookie Clicker for k Items .......................... 14  \n2.3.1 Dynamic Programming Solution ......................... 14  \n2.3.2 Local Optimizations ................................ 15  \n2.4 Increasing-Cost Cookie Clicker for k Items ........................ 15  \n2.4.1 Dynamic Programming Solution ......................... 15  \n2.4.2 Greedy Solutions .................................. 16  \n2.4.3 Approximation Ratio ................................ 17  \n3 Negative Results 23  \n3.1 R version is at least as hard as M version ........................ 23  \n3.2 Weak NP-hardness of R version .............................. 23  \n3.3 Cookie Clicker with Initial Cookies ............................ 24  \n3.3.1 Dynamic Programming Solution ......................... 25  \n3.3.2 Weak NP-hardness of Cookie Clicker with Initial Cookies ........... 25  \n3.4 Cookie Clicker with Discrete Timesteps is Strongly NP-hard .............. 28  \n􀀃 CSAIL, Massachusetts Institute of Technology y University of Electro-Communications  \nz Directeur de Recherches du F.R.S.-FNRS, Universit􀀓e Libre de Bruxelles xCSAIL, Massachusetts Institute of Technology; now at Google  \n1[http://orteil.dashnet.org/cookieclicker/](http://orteil.dashnet.org/cookieclicker/)  \n4 Conclusion 29  \n5 Acknowledgements 30  \n1 Introduction  \nFigure 1: Screenshot of Cookie Clicker v.2.002 .  \nIn Cookie Clicker, your goal is to generate as many cookies as possible. There are two ways to generate cookies in the game { you can click on a big cookie icon to bake a cookie, and you can purchase items that automatically generate cookies for you over time. We simplify these two mechanics into a single cookie generation rate, which is de􀀌ned as the number of cookies we generate per second. We do so by modeling the 􀀌rst mechanic (the ability to click on the big cookie icon to bake cookies) as a 􀀌xed initial cookie generation rate.  \nYou can use the cookies you have generated as currency to purchase various items that increase your cookie generation rate. Items can be purchased multiple times, but after each item purchase, the item's cost will increase atan exponential rate, given by Cn = C1 􀀁 􀀋n􀀀1 ,  \nwhere C1 is the cost of the 􀀌rst item and Cn is  \nthe cost of item n. In the actual game, 􀀋 = 1:15 . The real game has no explicit end condition, but in this paper we de􀀌ne two possible end conditions: reaching a certain number M 2 (0 ; 1) of cookies, or reaching a certain cookie generation rate R 2 (1 ; 1) .  \nCookie Clicker falls into a broader class of popular online games called incremental games or idle games [Wik14], in which the primary mechanic of the game is acquiring income and spending that income on income generators in order to acquire even more income. Some other well-known games in this genre include Adventure Capitalist, Cow Clicker, Clicker Heros, Shark Souls, Kittens Game, Egg Inc. , and Sandcastle Builder (based on the xkcd comic 1190, Time) . Our analysis of Cookie Cli","cbCaihIuIMONKUHu","https://ap.wps.com/l/cbCaihIuIMONKUHu","pdf",679148,"English","# 1 Introduction\n## 1.1 Models\n## 1.2 Results\n## 1.3 Useful Tools\n# 2 Positive Results\n## 2.1 1-Item Cookie Clicker Solution\n## 2.2 Fixed-Cost Cookie Clicker for 2 Items\n## 2.3 Fixed-Cost Cookie Clicker for k Items\n## 2.4 Increasing-Cost Cookie Clicker for k Items\n# 3 Negative Results\n## 3.1 R version is at least as hard as M version\n## 3.2 Weak NP-hardness of R version\n## 3.3 Cookie Clicker with Initial Cookies\n## 3.4 Cookie Clicker with Discrete Timesteps is Strongly NP-hard\n# 4 Conclusion\n# 5 Acknowledgements","[{\"question\":\"What is the main goal in Cookie Clicker 1?\",\"answer\":\"The goal is to generate as many cookies as possible. Players improve production by purchasing items that increase the cookie generation rate over time.\"},{\"question\":\"How does the paper model cookie generation and item purchasing?\",\"answer\":\"The paper models clicking as a fixed initial generation rate, then uses item tuples to describe how purchases increase the rate and how costs grow multiplicatively after each buy.\"},{\"question\":\"What types of objectives and end conditions are analyzed?\",\"answer\":\"Two primary objectives are studied: reaching a target number of cookies (M version) and reaching a target cookie generation rate (R rate-goal version). The paper also considers related variants like fixed-cost and discrete timesteps.\"}]","Cookie Clicker 1 - Abstract and Optimal Strategies Analysis | PDF",76,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-29/876ea25792efa80fa384dcf93806a759.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-29/cd72effcaf494968757c1d9e2d97a3b3.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-29/a831f1d4db0b36bc7fbcaa65b7dacbc5.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-29/b4496c6067c28c33b06d13867a7055b9.webp",980,1268,{"list":162,"token":66},[163,170,177,183,190,197,204,210,216,223],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":40,"create_tm":169},83273,"Approximability of Electrical Distribution Network Reconfiguration for General Graphs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808833456/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=%2B4wH3LWYAmQdAC7m6bZavX8Dpyo%3D","approximability-of-electrical-distribution-network-reconfiguration-for-general-graphs",23,1784186431,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},272866,"The Projection Games Conjecture and the Hardness of Approximation of super-SAT and related problems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899527444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=Mvyzf7O2qQxLO5%2FlAbSul5O0Og8%3D","the-projection-games-conjecture-and-the-hardness-of-approximation-of-super-sat-and-related-problems",21,1789468197,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":168,"category_name":40,"create_tm":182},81960,"The Minimum Dominating Set Problem on Bipartite Circle Graphs: Complexity and Approximation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808698421/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=UwVIGwIrWkW%2FP08%2BphCBMv5WisI%3D","the-minimum-dominating-set-problem-on-bipartite-circle-graphs-complexity-and-approximation",1784177297,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},156004,"Hardness of Maximum Likelihood Learning ofDPPs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229869814629/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=8sU6Kk0TXZT28MNrhl8cI1RCrTU%3D","hardness-of-maximum-likelihood-learning-ofdpps",15,1787942585,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":40,"create_tm":196},267879,"Handbook of Satis􀀌ability - Chapter 1 - Proof Complexity and SAT Solving","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229898147261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=tXAIinx2zppPxYJEPnZXBmMtFUI%3D","handbook-of-satisfiability-chapter-1-proof-complexity-and-sat-solving",18,1789426007,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":40,"create_tm":203},84854,"Data-dependent Evaluations for Budgeted Submodular Maximization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809074101/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=PoyLGT%2FRpr5TivY6EXze5atoTg8%3D","data-dependent-evaluations-for-budgeted-submodular-maximization",28,1784198831,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":81,"category_name":40,"create_tm":209},726567,"Filling Crosswords Is Very Hard - Article No. 36 - ISAAC 2021","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028543597/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=tnuO%2FJDNFI%2BxWVE%2BIMcHbNJ6jcI%3D","filling-crosswords-is-very-hard-article-no-36-isaac-2021",1795213755,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":44,"category_name":40,"create_tm":215},445094,"Influence of partial or total substitution of wheat flour and sunflower oil with Sacha inchi flour and oil on the quality and nutritional properties of cookies","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924672725/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=O10uArus7YKCxP%2FiY9f4lBuVrXI%3D","influence-of-partial-or-total-substitution-of-wheat-flour-and-sunflower-oil-with-sacha-inchi-flour-and-oil-on-the-quality-and-nutritional-properties-of-cookies",1790710275,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":40,"create_tm":222},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=pTajo5%2BghBY%2BVboej4iI0gj4y7I%3D","xnx-gas-detector-calibration-2023",7949,1776136863,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":40,"create_tm":229},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178839&Signature=iCg056ZZvQ5vOvU5KtJjzD3npzI%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6964,1776136851]