Simple Piano Tiles Bot made by using PyAutoGui Library.
- First we have to find out the pixel position of the tiles. This can be done by using running following command in python shell.
import pyautogui
pyautogui.displayMousePosition()
This will show you the pixel position of mouse cursor. Point mouse at the center of each lane of tiles. And note down the x-coordinates and y-coordinate. We will keep the y-coordinate same for each lane.
- Check if the pixel color is black.
- If black click on the pixel.
- Do same for the rest of the lane.
Game was running on browser click here to play Piano Tiles 2 online