Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hith3sh/pianotilesautomated
- Owner: hith3sh
- Created: 2023-09-16T03:24:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-16T04:04:03.000Z (over 1 year ago)
- Last Synced: 2024-11-05T20:17:56.368Z (3 months ago)
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
## InstallationUse 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 LOOP4. Have fun :)
```
![botgif](https://github.com/hith3sh/PianoTilesAutomated/assets/83839061/4e39477d-a978-48ec-9761-44510d2fbb0b)