In order for this bot to work you need to do a few steps with adb and scrcpy:
- Plug your phone to your computer
- run the command:
adb tcpip <port>
- Unplug your phone from your computer
- run the command:
adb connect <phone_ip>:<port>
- run scrcpy with
scrcpy -b2M -m800
Just run pip install -r requirements.txt
usage: play_growcastle.py [-h] [--scrcpy_window_name SCRCPY_WINDOW_NAME] {replay,battle}
This script will automate level advancements for grow castle
positional arguments:
{replay,battle} Whether to replay the same level or battle
optional arguments:
-h, --help show this help message and exit
--scrcpy_window_name SCRCPY_WINDOW_NAME, -w SCRCPY_WINDOW_NAME
The name of the window of scrcpy. This is for optimizations