I have been writing simple python games in Atom and running them via Terminal ("python + [file name]"). I want to create a mobile app that hosts these various python files and could run them and display the games in a visually attractive way. For example, for a Guess the Number game, this app could run the python file and display the input/output file program with modern aesthetics.
My guess is the best way to do this is to run the python files on a server, like my computer, and transfer input and output back and forth between the mobile app and server, while allowing the mobile app to represent the data in a more modern way.
I still have no idea how to go about doing the above though. If that is the best way, could anyone offer me guidance on technologies? If this is not the best way, could you point me in the right direction?
I'm new and not very good at programming, but I'd like to try to make this!