Files
Tirsvad 314f8b4d77 Add wiki in English, Danish and Bahasa Malaysia and the wiki publish workflow
Nine pages per language (home, description, install, one page per
lecture step with its screenshot and what was gained, appendix) plus the
sidebar. Doxygen now runs without warnings. The publish workflow is the
framework template, unchanged.

Task: MIL-005#1
Task: MIL-005#2
Task: MIL-005#3
Task: MIL-005#4
Task: MIL-005#5
Closes #24
Closes #25
Closes #26
Closes #27
Closes #28
2026-10-28 17:03:46 +08:00

21 lines
1.4 KiB
Markdown

# Cookie Clicker Bot
🌐 **English** · [Dansk](Home-da) · [Bahasa Melayu](Home-ms)
A Selenium bot that plays [Cookie Clicker](https://ozh.github.io/cookieclicker/) for five minutes: it clicks the big cookie, buys upgrades and reports its cookies per second (CPS). It is the day 48 project of Udemy's *100 Days of Code: The Complete Python Pro Bootcamp*.
This wiki walks through the five lecture steps. Each page has a screenshot taken by the bot itself in a headless browser inside Docker, the function that does the step, and what the step taught.
| Page | Read it when you want to |
| --- | --- |
| [Description](Description) | See what the project is and how the code is layered |
| [Install](Install) | Create a `.venv`, install, run the bot and the tests |
| [Step 1: open the game](Step-1-Open-The-Game) | See how the bot starts the game and chooses a language |
| [Step 2: click the cookie](Step-2-Click-The-Cookie) | See why the bot needs real clicks |
| [Step 3: read the count](Step-3-Read-The-Count) | See how the game's numbers are parsed |
| [Step 4: buy upgrades](Step-4-Buy-Upgrades) | See how the bot chooses and buys products |
| [Step 5: the five-minute run](Step-5-Five-Minute-Run) | See the loop, the result and the Docker run |
| [Appendix](Appendix-Documentation) | Find the project documents |
The result of the run shown in the screenshots: **16.6 cookies per second** after 300 seconds.