adhirajpandey / PianoTiles-Bot

Script to automate Piano Tiles online Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PianoTiles-Bot

This script is written in Python and uses the PyAutoGUI and Win32Api libraries to automate the Piano Tiles Game.

Working

Script continuously check pixel value of 4 different cordinates, if any of them is 0.0.0 i.e black, it simulates a mouse click 15px below it. Some minor adjustments are done to make it faster and facilitate higher difficulty levels.

You can check the comments for basic description.

Setup

  1. Clone the repository to your machine using the following command:

    git clone https://github.com/adhirajpandey/PianoTiles-Bot

  2. Install all the requirements: pip install -r requirements.txt

  3. Open game, and ensure that the game window is located on the left side of the screen as shown below else you can manually set pixel cordinates of tiles using PyAutoGUI mouseInfo().

  4. Run the application using python main.py and start the gameplay after scripts start.

Sample

piano

About

Script to automate Piano Tiles online Game


Languages

Language:Python 100.0%