Skip to main content

Getting started with your game BOT

You can create your own game BOT with andriod, windows and python

The simple steps are:

  1. Install your game on windows using an Android Emulator - MeMu Player is configured to work
  2. Grab python and install abdutils from pypi.org
  3. connect python to your emulator with adb
  4. define a function to send clicks to the andriod device
  5. define a function to screen grab your game

More soon

import os
import sys
from adbutils import adb

#Connect to Emulator
#This will print all available devices
for virtualDevice in adb.device_list():
    print(virtualDevice.serial,'All->',virtualDevice)
    devno+=1

#This will connect to one device put ip address in brackets if you have multiples
MEmuDevice = adb.device()