Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hith3sh/pianotilesautomated

A simple python bot made using OpenCV and python libraries to automatically play Piano Tiles game on browser
https://github.com/hith3sh/pianotilesautomated

Last synced: about 2 months ago
JSON representation

A simple python bot made using OpenCV and python libraries to automatically play Piano Tiles game on browser

Awesome Lists containing this project

README

        

# Description

This bot will play magic piano tiles automatically on your browser.
Here I use [opencv](https://opencv.org/) - a computer vision library ,to detect the words on the screen.
Game link : [Magic Piano Tiles](https://www.agame.com/game/magic-piano-tiles)
## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install these relevant dependencies. We'll be importing these to run the python file.

```bash
pip install pyautogui
pip install keyboard
pip install pywin32
pip install opencv-python
pip install Pillow
```

## How to use
```
1. Open python IDLE, then copy the code on bot.py and paste it there and save it .

2. Download the START.jpg file and save it -make sure to save it where you save the copied python file.

2. Open " https://www.agame.com/game/magic-piano-tiles " using a browser.

3. Keep the browser on and visible and run the IDLE file.
Bot will automatically detect the START button and will click that.
USE "ESC" TO ESCAPE FROM THE LOOP

4. Have fun :)
```
![botgif](https://github.com/hith3sh/PianoTilesAutomated/assets/83839061/4e39477d-a978-48ec-9761-44510d2fbb0b)