Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Python Game Automation
Rating: 4.7 out of 5(47 ratings)
636 students

Learn Python Game Automation

Create high-performing game bots for Cookie Clicker, Piano Tiles, and Google Dinosaur Run using Python
Created byCameron Weibel
Last updated 10/2022
English

What you'll learn

  • How to create winning bots for Cookie Clicker, Google Dinosaur Run, and Piano Tiles using Python
  • Understand bot design and problem approach
  • Processing images with numpy and cv2
  • Controlling the mouse and keyboard using pyautogui
  • Simple object detection based on pixel values
  • Pixel coordinate system, framerate, timing
  • Fast screen capturing using mss

Course content

5 sections18 lectures1h 1m total length
  • Introduction0:53
  • Installing the required libraries0:16
  • Getting the source code0:03

Requirements

  • Basic/Intermediate Python knowledge
  • No previous experience with automation required

Description

Have you ever wanted to create a Python program to play games online, or automate time-consuming, click-intensive work in your browser? In this course, we explore what it takes to program your own bot and create different bots for three popular online games: Cookie Clicker, Google Dinosaur Run, and Piano Tiles, in just one hour! Each game is slightly more difficult to play than the previous, but can each be accomplished with fewer than 50 lines of code! You don't need any programming knowledge to get started with the course, but a basic understand beforehand will help you improve your bot later on.

In the course we use Python 3.8 and make use of the numpy, pyautogui, cv2, and mss libraries to create bots that can outperform a number of other bots you will find online. Afterwards, you will be able to take the approaches learned in the course and apply it to other games of your choosing, as well as to business automation applications. We will also look into what it takes to beat the scores achieved within this course.

Challenge your friends to see if they can beat your bot. Better yet, challenge your friends to make their own bots and see how far you can push the limits of your code.

Who this course is for:

  • Beginner/Intermediate Python developers interesting in creating game bots