The bot automatically locate the game in screen and identify the tiles. It then clicks on the tiles in the correct order. My score record with this bot is 3335 in this website.
An improvement to this bot is to use a neural network to identify the tiles. This will make the bot more robust to different screen resolutions and different game versions, and also make it more efficient.
You can find the code in pianoTiles_bot.py.
Feel free to try it out and beat my score!
The bot automatically locate the game in screen and identify the targets. It then clicks on the targets in the correct order. I don't have a score record with this bot because the bot works too well and doesn't miss any targets :)
You can find the code in aimbooster_bot.py and try it with this website.
- Clone the repository
- Install the required packages with
pip install -r requirements.txt
- Open the game that you want to play in your browser.
- I used this websites: Piano Tiles, AimBooster, but you can use any other website that you want while the game screen is similar to these games. If the screen are not similar, you need to change the locator images in locator folder for a focus screenshot of these new screen games.
- Run the code with
python aimbooster_bot.py
orpython pianoTiles_bot.py
- Press
s
to start the bot andq
to quit the bot. - Take fun beating scores!