This project automates the gameplay of the popular online game Cookie Clicker using Selenium WebDriver. It includes automated clicking on the big cookie, as well as purchasing upgrades and products to increase the cookie production rate.
- Automatic Cookie Clicking: Continuously clicks on the big cookie to produce cookies.
- Automated Upgrades: Automatically purchases available upgrades to increase cookie production efficiency.
- Product Purchases: Buys new products for cookie production as soon as they become available and affordable.
- Python 3.x
- Selenium WebDriver
- Chrome WebDriver (compatible with your Chrome version)
- Clone the repository:
git clone https://github.com/Paramvir12121/Cookie-Monster.git
- Create a virtual environment
python -m venv venv
- Start the virtual environment
- For windows:
venv/Scripts/activate
- For Linux:
Source venv/bin/activate
- Install the required Python packages:
pip install selenium
- Navigate to the project directory:
cd cookie-monster
- Run the script:
python main.py
- Watch as the scipt does the clicking for you, knowing you have just automated your fun.
The script starts by opening the Cookie Clicker game in a new Chrome window and then begins the automation process. It will automatically click on the big cookie, purchase upgrades, and buy new products to increase the production of cookies.
You can stop the script at any time by closing the Chrome window or terminating the script execution in your command line interface.
Contributions to improve the automation script are welcome. Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.
Distributed under the MIT License. See LICENSE
for more information.