Clicker Bot for Gacha Games Using Image Recognition

Timotius Dharmawan, Novita Hanafiah · Procedia Computer Science · 2021

Gacha games has tedious activities need to be done by the players to progress the game besides using real money. The usage of bots and macros to automate the game are not uncommon nowadays with the high demand of grinding within the game. This research purposes is to create a bot that can replace the user task to click buttons on game stages, thus helping users in their grinding. The automatic clicker applied image recognition to find the area to be clicked. Firstly, the template image is manually taken by the user to be used as the matching. The screen image, which captured on the go, and the template image are pre-processed using three variations techniques to find the best precision of the coordinate area. Afterwards, the cursor will be moved to the coordinate position returned from the matching between template image and screen image. The coordinate returned from the matching is randomized using Gaussian Distributions but still within the matched positions between template image and screen image. The experiment shows that Canny Edges gives the good coordinate position. On the other hand, the grayscale gives a poor result on giving the coordinate position. Canny Edge and combination of Canny Edge and grayscale always return the target’s position. With this bot, user does not need to supervise the game every time the game stage has finished and restarting the stage.

Read the paper · More papers on PaperTik