as I'm working on a first (example) game, I keep adding more and more code to the "Main game logic: yourgamename.game.php" file.
Is there a recommended way to move some of that code out to another File and or Class?
There's a guys project on Github who seems to have figured it out: https://github.com/danielholmes/battle- ... ForHill218
But so far I had no luck trying to copy that approach, and I don't want to complicate things too much.
How are you guys doing it, are you just putting everything in one class or splitting it up somehow?