Hello!
I’ll probably buy Pythonista but want to check if that what I want to do is even possible with this app.
My idea is to do a little script based on Maschine learning to start up a app (I already got the IPA file from this app and I’m already looking if there is a URL scheme) and in short, I want to train a KI to maximum a number, like the Highscore.
So, is this even possible? Like can I control an app entirely trough a script with Pythonista?
I just need to know if the basic idea is possible, all the details how I do this will probably emerge with the time as I have to dig a bit deeper in ML and so on.
Thanks in advance!
Forum Archive
Python, iOS App & Maschine Learning
@xvid, it seems that this would only be possible if the game would have an abnormally comprehensive URL scheme, enabling you to control all actions and to get full feedback on the results.
Also, training ML algorithms in pure Python is not fast, so it might take too long to produce useful results.
So I guess it will probably not be possible.
Do you think something like this would be easier on Android?
I've checked several YouTube channels where they train alogrithm to play a game and usually they completely rebuild the game and then trained the algorithm. I had some hope I could avoid that haha
Before you jump out to Android, check out an alternative Python 3 implementation on iOS. Pyto let’s you blend C and Python code into a single application. https://github.com/ColdGrub1384/Pyto/blob/master/PORT_LIBRARY.md