How to Make a Gaming Bot that Beats Human Using Python and OpenCVby@zetyquickly
21,917 reads
21,917 reads

How to Make a Gaming Bot that Beats Human Using Python and OpenCV

by Emil Bogomolov7mSeptember 26th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow
EN

Too Long; Didn't Read

A Python bot piggybacks on computer vision library OpenCV to beat Don’t touch the red an endless runner from Addicting Games. The bot uses the OpenCV algorithm to find a matching patch on the target image. It is not a neural network approach it is much simpler and limited. The other important parts of the bot are how we can get screens to analyze and take screenshots of a particular part of the game. The bot’s very handy to set “break action” on some keyboard when your mouse is controlled by a key.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Make a Gaming Bot that Beats Human Using Python and OpenCV
Emil Bogomolov HackerNoon profile picture
Emil Bogomolov

Emil Bogomolov

@zetyquickly

Machine learning enthusiast. Research engineer at Skoltech.

Learn More
LEARN MORE ABOUT @ZETYQUICKLY'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Emil Bogomolov HackerNoon profile picture
Emil Bogomolov@zetyquickly
Machine learning enthusiast. Research engineer at Skoltech.

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!