paint-brush
How to Make a Gaming Bot that Beats Human Using Python and OpenCVby@zetyquickly
22,327 reads
22,327 reads

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

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

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.
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

L O A D I N G
. . . comments & more!

About Author

Emil Bogomolov HackerNoon profile picture
Emil Bogomolov@zetyquickly

TOPICS

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
Flipboard
Buzzsumo
Newsbreak
Ftscorch
Ktachibana
Aiois
Latigrapro
Latigrapro
Annakarmel
Datayogi
Studiorubinidermo
1d4
Poast
Leftic
Cyberfishnews
Lzomedia
Allella
Aceone
Runonflux
Jakobs