def choose_level1(): time.sleep(1) tap_sleep(513, 534) tap_sleep(1090, 174) tap_sleep(200, 387) for i in range(5): swipe(200, 250, 210, 580, 300) tap_sleep(217, 95)
from util import tap_screen, swipe from kog import main import time def tap_sleep(x, y): tap_screen(x, y) time.sleep(0.5) if __name__ == '__main__': tap_sleep(1007, 531) tap_sleep(784, 379) tap_sleep(658, 346) swipe(313, 582, 318, 250, 500) tap_sleep(681, 377) tap_sleep(1006, 610) main()
def execute(self): swipe(*self.cord)
def swipe_hero(reverse=False): if reverse: swipe(65, 200, 65, 600, 1500) else: swipe(65, 600, 65, 200, 1500)