• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Python Cookie Clicker Algorithm

Lincoln

New Coder
I just started coding for fun and am using the latest version of Pycharm community
does anyone here know a way to import code from a Steam game into pycharm and have it update live with the game
thank you if you can help or let me know if I'm asking a dumb question :).
 
It's not as simple as just copy and pasting.

First, you probably don't have access the source code, unless it's an open source game. If it's not, then there's no way getting the code (at least not legally), unless you contact the developers. Games are normally distributed compiled and built, so the source code is not available to the public, unless of course it's open source.

If you do manage to get the code and the game is written in python, then sure you can copy and paste it, but you're also going to have to import all the dependencies.

In short, it's probably not possible, unless it's an open source game and the code might be available on GitHub.


Also, it the title related to the post in any way?
 
Last edited:
Top Bottom