# Short delay between catches time.sleep(2)
# Make sure the game is in focus print("Please ensure the game window is in focus and ready.") input("Press Enter to start...")
while True: # Assuming the fishing rod is cast by clicking at a certain spot relative to the game window cast_rod_x = game_window[0] + 300 cast_rod_y = game_window[1] + 300 pyautogui.moveTo(cast_rod_x, cast_rod_y) pyautogui.click()