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.
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.
Here we will create the bot from start to finish. Afterwards, you should be able to use Python to control your mouse to click on-screen at specific coordinates, and loop through actions to play the game at a superhuman level.
Congratulations, you have completed the course! You can now apply what you've learned to other games of your choosing. Please rate the course and let us know what you think!
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.