I had some fun with my son (age 7) writing python to beat one of the "clicking" games. I wrote the code but he thought my clicking app was like magic. https://automatetheboringstuff.com/chapter18/
Seems like you'd have to blaze a trail if it did - "The pyautogui module can send virtual keypresses and mouse clicks to Windows, OS X, and Linux. Depending on which operating system you’re using, you may have to install some other modules (called dependencies) before you can install PyAutoGUI."